build release artifacts #2
Workflow file for this run
This file contains 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: build release artifacts | |
permissions: | |
contents: write | |
on: # yamllint disable-line rule:truthy | |
release: | |
types: [created] | |
jobs: | |
create-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: taiki-e/create-gh-release-action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
upload-assets: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install libnotify | |
run: | | |
sudo apt-get update | |
sudo apt-get install libnotify-dev | |
- name: Create packed release binaries | |
uses: taiki-e/upload-rust-binary-action@v1 | |
with: | |
bin: scun | |
tar: unix | |
token: ${{ secrets.GITHUB_TOKEN }} |