Fix release scripts
This commit is contained in:
parent
224e365867
commit
bb714ce48c
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
||||||
uses: actions/upload-artifact@v3.1.2
|
uses: actions/upload-artifact@v3.1.2
|
||||||
with:
|
with:
|
||||||
# Artifact name
|
# Artifact name
|
||||||
name: magic-nix-cache-ARM64-macOS.closure.xz
|
name: magic-nix-cache-ARM64-macOS
|
||||||
path: magic-nix-cache.closure.xz
|
path: magic-nix-cache.closure.xz
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ jobs:
|
||||||
uses: actions/upload-artifact@v3.1.2
|
uses: actions/upload-artifact@v3.1.2
|
||||||
with:
|
with:
|
||||||
# Artifact name
|
# Artifact name
|
||||||
name: magic-nix-cache-X64-macOS.closure.xz
|
name: magic-nix-cache-X64-macOS
|
||||||
path: magic-nix-cache.closure.xz
|
path: magic-nix-cache.closure.xz
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
|
@ -80,6 +80,6 @@ jobs:
|
||||||
uses: actions/upload-artifact@v3.1.2
|
uses: actions/upload-artifact@v3.1.2
|
||||||
with:
|
with:
|
||||||
# Artifact name
|
# Artifact name
|
||||||
name: magic-nix-cache-X64-Linux.closure.xz
|
name: magic-nix-cache-X64-Linux
|
||||||
path: magic-nix-cache.closure.xz
|
path: magic-nix-cache.closure.xz
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
6
.github/workflows/release-branches.yml
vendored
6
.github/workflows/release-branches.yml
vendored
|
@ -37,21 +37,21 @@ jobs:
|
||||||
name: magic-nix-cache-ARM64-macOS
|
name: magic-nix-cache-ARM64-macOS
|
||||||
path: cache-binary-ARM64-macOS
|
path: cache-binary-ARM64-macOS
|
||||||
- name: Persist the cache binary
|
- name: Persist the cache binary
|
||||||
run: cp ./cache-binary-ARM64-macOS/magic-nix-cache ./artifacts/magic-nix-cache-ARM64-macOS
|
run: cp ./cache-binary-ARM64-macOS/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-ARM64-macOS
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: magic-nix-cache-X64-macOS
|
name: magic-nix-cache-X64-macOS
|
||||||
path: cache-binary-X64-macOS
|
path: cache-binary-X64-macOS
|
||||||
- name: Persist the cache binary
|
- name: Persist the cache binary
|
||||||
run: cp ./cache-binary-X64-macOS/magic-nix-cache ./artifacts/magic-nix-cache-X64-macOS
|
run: cp ./cache-binary-X64-macOS/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-X64-macOS
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: magic-nix-cache-X64-Linux
|
name: magic-nix-cache-X64-Linux
|
||||||
path: cache-binary-X64-Linux
|
path: cache-binary-X64-Linux
|
||||||
- name: Persist the cache binary
|
- name: Persist the cache binary
|
||||||
run: cp ./cache-binary-X64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-X64-Linux
|
run: cp ./cache-binary-X64-Linux/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-X64-Linux
|
||||||
|
|
||||||
- name: Publish Release (Branch)
|
- name: Publish Release (Branch)
|
||||||
env:
|
env:
|
||||||
|
|
6
.github/workflows/release-prs.yml
vendored
6
.github/workflows/release-prs.yml
vendored
|
@ -41,21 +41,21 @@ jobs:
|
||||||
name: magic-nix-cache-ARM64-macOS
|
name: magic-nix-cache-ARM64-macOS
|
||||||
path: cache-binary-ARM64-macOS
|
path: cache-binary-ARM64-macOS
|
||||||
- name: Persist the cache binary
|
- name: Persist the cache binary
|
||||||
run: cp ./cache-binary-ARM64-macOS/magic-nix-cache ./artifacts/magic-nix-cache-ARM64-macOS
|
run: cp ./cache-binary-ARM64-macOS/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-ARM64-macOS
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: magic-nix-cache-X64-macOS
|
name: magic-nix-cache-X64-macOS
|
||||||
path: cache-binary-X64-macOS
|
path: cache-binary-X64-macOS
|
||||||
- name: Persist the cache binary
|
- name: Persist the cache binary
|
||||||
run: cp ./cache-binary-X64-macOS/magic-nix-cache ./artifacts/magic-nix-cache-X64-macOS
|
run: cp ./cache-binary-X64-macOS/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-X64-macOS
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: magic-nix-cache-X64-Linux
|
name: magic-nix-cache-X64-Linux
|
||||||
path: cache-binary-X64-Linux
|
path: cache-binary-X64-Linux
|
||||||
- name: Persist the cache binary
|
- name: Persist the cache binary
|
||||||
run: cp ./cache-binary-X64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-X64-Linux
|
run: cp ./cache-binary-X64-Linux/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-X64-Linux
|
||||||
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@v2
|
uses: aws-actions/configure-aws-credentials@v2
|
||||||
|
|
6
.github/workflows/release-tags.yml
vendored
6
.github/workflows/release-tags.yml
vendored
|
@ -29,21 +29,21 @@ jobs:
|
||||||
name: magic-nix-cache-ARM64-macOS
|
name: magic-nix-cache-ARM64-macOS
|
||||||
path: cache-binary-ARM64-macOS
|
path: cache-binary-ARM64-macOS
|
||||||
- name: Persist the cache binary
|
- name: Persist the cache binary
|
||||||
run: cp ./cache-binary-ARM64-macOS/magic-nix-cache ./artifacts/magic-nix-cache-ARM64-macOS
|
run: cp ./cache-binary-ARM64-macOS/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-ARM64-macOS
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: magic-nix-cache-X64-macOS
|
name: magic-nix-cache-X64-macOS
|
||||||
path: cache-binary-X64-macOS
|
path: cache-binary-X64-macOS
|
||||||
- name: Persist the cache binary
|
- name: Persist the cache binary
|
||||||
run: cp ./cache-binary-X64-macOS/magic-nix-cache ./artifacts/magic-nix-cache-X64-macOS
|
run: cp ./cache-binary-X64-macOS/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-X64-macOS
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: magic-nix-cache-X64-Linux
|
name: magic-nix-cache-X64-Linux
|
||||||
path: cache-binary-X64-Linux
|
path: cache-binary-X64-Linux
|
||||||
- name: Persist the cache binary
|
- name: Persist the cache binary
|
||||||
run: cp ./cache-binary-X64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-X64-Linux
|
run: cp ./cache-binary-X64-Linux/magic-nix-cache.closure.xz ./artifacts/magic-nix-cache-X64-Linux
|
||||||
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@v2
|
uses: aws-actions/configure-aws-credentials@v2
|
||||||
|
|
Loading…
Reference in a new issue