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

[Hotfix] Temporary for Linux musl release. #28460

Merged
merged 1 commit into from
Nov 20, 2024
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
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
Loading