-
Notifications
You must be signed in to change notification settings - Fork 21
23 lines (21 loc) · 745 Bytes
/
ci.yml
File metadata and controls
23 lines (21 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: ci
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Dependencies
run: sudo apt-get install -y tar shellcheck
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # https://github.com/actions/checkout/tree/v4.2.2
- name: Build
run: make PBG_VERSION=${{ github.ref_name }}
- name: Release
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # https://github.com/softprops/action-gh-release/tree/v2.2.1
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: false
files: "pixel-backup-gang-*.tar.gz"
token: ${{ secrets.MY_GITHUB_TOKEN }}