Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Melechtna authored Apr 30, 2024
1 parent 7ba8abc commit 6a9c785
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ jobs:
name: windows-bin
path: target/windows-x86_64/release

release:
download-artifacts: # New job to download artifacts
needs: upload-artifacts
runs-on: ubuntu-latest # Can be any OS
runs-on: ubuntu-latest # Can be any OS (where you want the artifacts)
steps:
- uses: actions/checkout@v4

Expand All @@ -64,17 +64,6 @@ jobs:
curl -LJO "https://github.com/${{ github.repository }}/actions/artifacts/${{ github.run_id }}/downloads/${os}-bin.zip"
done
- name: Create Release
uses: nlopes/release-action@v2
with:
tag_name: ${{ github.ref }} # Use pushed tag name
release_name: "LBA2SD-$(date +%Y.%m.%d) (built on ${{ format('{:%Y-%m-%d}', github.event.time) }})"
body: |
Binaries included:
- ubuntu-latest
- macos-latest
- windows-latest
- name: Extract Artifacts
run: |
for file in *.zip; do unzip "$file"; done

0 comments on commit 6a9c785

Please sign in to comment.