Skip to content

Commit

Permalink
CI: wofsajljfslafa
Browse files Browse the repository at this point in the history
  • Loading branch information
n0toose committed Jun 7, 2024
1 parent ca3873c commit 34c3f36
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,16 +146,20 @@ jobs:
asset_name: "uhyve-${{ github.ref_name }}-linux-amd64"
- os: macos-latest
asset_name: uhyve-${{ github.ref_name }}-macos-amd64
outputs:
upload-url: ${{ needs.release.outputs.upload_url }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --release
- name: Upload binaries
run: cargo build --release --locked
- name: Make new release
id: release
# v2.9.0, pinned to the corresponding commit hash for hardening reasons
uses: svenstaro/upload-release-action@04733e069f2d7f7f0b4aebc4fbdbce8613b03ccd
with:
upload_url: ${{ needs.release.outputs.upload_url }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/uhyve
asset_name: ${{ matrix.asset_name }}
Expand Down

0 comments on commit 34c3f36

Please sign in to comment.