Skip to content

Commit

Permalink
fix_ci: Switch to taiki-e/upload-rust-binary-action (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
lowitea authored Nov 25, 2023
1 parent 828a88e commit 120e0cd
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,24 @@ jobs:
KNOWN_HOSTS: ${{ secrets.KNOWN_HOSTS }}
GTLBSTR_TEST_GITLAB_TOKEN: ${{ secrets.GTLBSTR_TEST_GITLAB_TOKEN }}

release-binaries:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
upload-assets:
name: release ${{ matrix.os }}
needs: integration-tests
strategy:
fail-fast: false
matrix:
target:
[
x86_64-pc-windows-gnu,
x86_64-unknown-linux-musl,
x86_64-apple-darwin,
]
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- name: Compile and release
uses: rust-build/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: taiki-e/upload-rust-binary-action@v1
with:
RUSTTARGET: ${{ matrix.target }}
EXTRA_FILES: "README.md LICENSE"
MINIFY: true
bin: gitlobster
include: LICENSE,README.md
token: ${{ secrets.GITHUB_TOKEN }}

release-docker:
name: release docker
Expand Down

0 comments on commit 120e0cd

Please sign in to comment.