explo(ghactions): -

This commit is contained in:
Piotr Grabowski 2022-09-12 17:01:04 +02:00
parent bd2ef3d400
commit afaaa3f4e1

View file

@ -1,13 +1,30 @@
--- ---
name: dist name: dist
on: push "on":
push:
branches: [master]
jobs: jobs:
dist: dist:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - name: Check out the repo
- run: make dist uses: actions/checkout@v3
- uses: actions/upload-artifact@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
with: with:
name: dist-package name: dist-package
path: target/Gomics*.zip path: target/Gomics*.zip