Temporary fix for release

This commit is contained in:
Pranav Gaddamadugu 2024-11-19 20:37:31 -08:00
parent ad3bbe5746
commit 71c2b4fa8e

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