-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (34 loc) · 896 Bytes
/
release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Publish artefacts
on:
workflow_dispatch:
release:
types: [published]
jobs:
linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build
run: make RELEASE=true
- name: Pack
run: cd ./build/ && tar -czf labyrinth_linux64.tar.gz ./labyrinth
- uses: actions/upload-artifact@v3
with:
name: labyrinth_linux64.tar.gz
path: build/labyrinth_linux64.tar.gz
macOS:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build
run: make RELEASE=true
- name: Pack
run: cd ./build/ && tar -czf labyrinth_macos.tar.gz ./labyrinth
- uses: actions/upload-artifact@v3
with:
name: labyrinth_macos.tar.gz
path: build/labyrinth_macos.tar.gz