Skip to content

Commit

Permalink
Temporary fix for release
Browse files Browse the repository at this point in the history
  • Loading branch information
d0cd committed Nov 20, 2024
1 parent ad3bbe5 commit 71c2b4f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 71c2b4f

Please sign in to comment.