-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (50 loc) · 1.23 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Release
on:
release:
types: [published]
workflow_dispatch:
concurrency:
group: swervo-release
cancel-in-progress: true
jobs:
LinuxCI:
uses: ./.github/workflows/build-linux.yaml
permissions:
contents: read
packages: write
with:
BASE_IMAGE: ghcr.io/abjrcode/cross-wails:v2.7.1
BUILD_TYPE: "release"
DarwinCI:
uses: ./.github/workflows/build-darwin.yaml
with:
GO_VERSION: "v1.21.5"
NODE_VERSION: "20"
WAILS_VERSION: "v2.7.1"
BUILD_TYPE: "release"
Publish:
runs-on: ubuntu-latest
needs:
- LinuxCI
- DarwinCI
if: success()
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
name: release_bins
path: bins
- name: Upload Release Artifacts
uses: softprops/action-gh-release@v1
env:
RELEASE_TAG: ${{ needs.LinuxCI.outputs.releaseTag }}
with:
files: ./bins/*
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ env.RELEASE_TAG }}
generate_release_notes: false
append_body: true