v0.5.11 #12
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Release | |
permissions: | |
actions: write | |
checks: write | |
contents: write | |
id-token: write | |
pull-requests: write | |
security-events: write | |
statuses: write | |
on: | |
release: | |
types: [ published ] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.sha }} | |
- name: Setup rust | |
uses: ./.github/actions/setup-rust | |
with: | |
toolchain: stable | |
should-cache-be-loaded: true | |
- name: Run packing script | |
run: ./scripts/pack.sh | |
- name: Add asset to release | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ github.event.release.upload_url }} | |
asset_path: ./x86_64-linux.zip | |
asset_content_type: application/zip | |
asset_name: x86_64-linux.zip |