Skip to content

Commit 79eff69

Browse files
committed
ci: install appdmg, fix release permissions and upload glob
1 parent c25e1f7 commit 79eff69

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- 'v*'
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
release:
1013
name: Build and Release
@@ -29,6 +32,10 @@ jobs:
2932
sudo apt-get update
3033
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev binutils libayatana-appindicator3-dev libsystemd-dev
3134
35+
- name: Install appdmg (macOS)
36+
if: matrix.platform == 'macos'
37+
run: npm install -g appdmg
38+
3239
- uses: subosito/flutter-action@v2
3340
with:
3441
channel: 'stable'
@@ -48,6 +55,6 @@ jobs:
4855
- name: Upload binaries to release
4956
uses: softprops/action-gh-release@v1
5057
with:
51-
files: dist/release/**/*
58+
files: dist/**/*.{dmg,deb}
5259
env:
5360
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)