Skip to content

Commit ad3edd0

Browse files
committed
adding workflow for binaries
1 parent 20df51e commit ad3edd0

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Attach extension package to release
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build-and-attach:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Check out the release tag
17+
uses: actions/checkout@v5
18+
with:
19+
ref: ${{ github.event.release.tag_name }}
20+
21+
- name: Install extension build dependencies
22+
run: |
23+
sudo apt-get update
24+
sudo apt-get install --yes glib2.0-bin zip
25+
26+
- name: Build extension package
27+
run: make build
28+
29+
- name: Attach package to the release
30+
env:
31+
GH_TOKEN: ${{ github.token }}
32+
run: >-
33+
gh release upload "${{ github.event.release.tag_name }}"
34+
"bin/colortint@matt.serverus.co.uk.zip"
35+
--clobber

0 commit comments

Comments
 (0)