We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f154eda commit 5ca4487Copy full SHA for 5ca4487
1 file changed
.github/workflows/build-launcher.yml
@@ -4,20 +4,23 @@ on:
4
push:
5
branches: [main]
6
paths:
7
- - 'launcher/**'
8
- - '.github/workflows/build-launcher.yml'
+ - "launcher/**"
+ - ".github/workflows/build-launcher.yml"
9
pull_request:
10
11
12
13
workflow_dispatch:
14
release:
15
types: [created]
16
17
env:
18
- GO_VERSION: '1.24'
+ GO_VERSION: "1.24"
19
APP_NAME: mtools-launcher
20
21
+permissions:
22
+ contents: write
23
+
24
jobs:
25
# Native builds for maximum compatibility
26
build-native:
@@ -146,5 +149,4 @@ jobs:
146
149
uses: softprops/action-gh-release@v1
147
150
with:
148
151
files: artifacts/*
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
152
+ if: github.ref_type == 'tag'
0 commit comments