Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix release workflow #102

Merged
merged 1 commit into from
Dec 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Note that a Github Release with this tag is assumed to exist as a draft
# with the appropriate title/body, and will be undrafted for you.

name: Release

Check warning on line 14 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / Lint code

14:1 [document-start] missing document start "---"

permissions:
contents: write
Expand All @@ -37,7 +37,7 @@
#
# If there's a prerelease-style suffix to the version, then the release(s)
# will be marked as a prerelease.
on:

Check warning on line 40 in .github/workflows/release.yml

View workflow job for this annotation

GitHub Actions / Lint code

40:1 [truthy] truthy value should be one of [false, true]
push:
tags:
- "**[0-9]+.[0-9]+.[0-9]+*"
Expand Down Expand Up @@ -76,7 +76,7 @@
cat dist-manifest.json
echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
- name: "Upload dist-manifest.json"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: artifacts
path: dist-manifest.json
Expand Down Expand Up @@ -114,7 +114,7 @@
run: ${{ matrix.install_dist }}
# Get the dist-manifest
- name: Fetch local artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: artifacts
path: target/distrib/
Expand All @@ -140,7 +140,7 @@

cp dist-manifest.json "$BUILD_MANIFEST_NAME"
- name: "Upload artifacts"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: artifacts
path: |
Expand All @@ -165,7 +165,7 @@
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.6.0/cargo-dist-installer.sh | sh"
# Get all the local artifacts for the global tasks to use (for e.g. checksums)
- name: Fetch local artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: artifacts
path: target/distrib/
Expand All @@ -182,7 +182,7 @@

cp dist-manifest.json "$BUILD_MANIFEST_NAME"
- name: "Upload artifacts"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: artifacts
path: |
Expand Down Expand Up @@ -210,7 +210,7 @@
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.6.0/cargo-dist-installer.sh | sh"
# Fetch artifacts from scratch-storage
- name: Fetch artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: artifacts
path: target/distrib/
Expand All @@ -223,7 +223,7 @@
cat dist-manifest.json
echo "manifest=$(jq -c "." dist-manifest.json)" >> "$GITHUB_OUTPUT"
- name: "Upload dist-manifest.json"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: artifacts
path: dist-manifest.json
Expand All @@ -246,7 +246,7 @@
with:
submodules: recursive
- name: "Download Github Artifacts"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: artifacts
path: artifacts
Expand Down