Merge pull request #28460 from ProvableHQ/fix/release-ci-linux-musl

[Hotfix] Temporary for Linux musl release.
This commit is contained in:
d0cd 2024-11-19 20:38:08 -08:00 committed by GitHub
commit 3906c9a8b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,6 +64,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
@ -103,9 +104,17 @@ jobs:
cd ..
mv tempdir/leo-${{ steps.get_version.outputs.version }}-x86_64-unknown-linux-musl.zip .
- name: Set tag ref
run: echo "TAG_REF=refs/tags/${{ github.event.inputs.tag }}" >> $GITHUB_ENV
- name: Debug GitHub Context
run: |
echo "GITHUB_REF=${{ github.ref }}"
echo "GITHUB_REF_TYPE=${{ github.ref_type }}"
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(env.TAG_REF, 'refs/tags/')
with:
files: |
leo-${{ steps.get_version.outputs.version }}-x86_64-unknown-linux-musl.zip