Skip to content

Commit

Permalink
ci: automatically publish artifacts when release is created
Browse files Browse the repository at this point in the history
  • Loading branch information
hallettj committed May 27, 2020
1 parent 5112191 commit 7786284
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
release:
types: [created]
name: Handle Release
jobs:
generate:
name: create release artifacts
runs-on: ubuntu-latest
steps:
- name: check out the repository
uses: actions/checkout@master
- name: install dependencies
run: sudo apt install -y zip
- name: build the project
run: make
- name: upload the artifacts
uses: skx/github-action-publish-binaries@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: '*.zip'

0 comments on commit 7786284

Please sign in to comment.