Skip to content

Commit

Permalink
Merge pull request #2 from brunojppb/poc-release
Browse files Browse the repository at this point in the history
Generate Linux binaries when creating GH releases
  • Loading branch information
brunojppb authored Jan 1, 2024
2 parents 36f39fd + b8fc060 commit cd6273b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Release binaries"
on:
release:
types: [created]

jobs:
release:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [x86_64-unknown-linux-musl]
steps:
- uses: actions/checkout@v4
- name: Compile and release
uses: rust-build/rust-build.action@v1.4.4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
EXTRA_FILES: "README.md LICENSE"
2 changes: 2 additions & 0 deletions decay_gha/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# decay_gha

CLI for starting the Decay web server in the background during Github Actions workflows and cleanup once the action is done.

0 comments on commit cd6273b

Please sign in to comment.