2022-09-12 14:47:23 +00:00
|
|
|
---
|
|
|
|
name: dist
|
2022-09-12 15:01:04 +00:00
|
|
|
"on":
|
|
|
|
push:
|
|
|
|
branches: [master]
|
2022-09-12 14:47:23 +00:00
|
|
|
jobs:
|
|
|
|
dist:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-09-12 15:01:04 +00:00
|
|
|
- name: Check out the repo
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Set up Go
|
|
|
|
uses: actions/setup-go@v3
|
|
|
|
with:
|
|
|
|
go-version: "^1.19.1"
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
sudo apt update
|
|
|
|
sudo apt install libgtk-3-dev libcairo2-dev libglib2.0-dev
|
|
|
|
|
|
|
|
- name: Run `make dist`
|
|
|
|
run: make dist
|
|
|
|
|
|
|
|
- name: Upload dist package
|
|
|
|
uses: actions/upload-artifact@v3
|
2022-09-12 14:47:23 +00:00
|
|
|
with:
|
|
|
|
name: dist-package
|
|
|
|
path: target/Gomics*.zip
|