File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 11name : SerialPrograms MacOS Release
22
33on :
4- create :
5- branch :
6- # Start MacOS release flow when a new version branch is created
4+ push :
5+ branches :
76 - ' v*'
87 workflow_dispatch :
98 # Manual release / testing
3534
3635jobs :
3736 build :
37+ # Run when manually triggered, when a new version branch is created, or when a version branch is updated
38+ if : |
39+ github.event_name == 'workflow_dispatch' ||
40+ (github.event_name == 'push' && startsWith(github.ref, 'refs/heads/v'))
3841 runs-on : ${{ github.event.inputs.runner || 'macos-13'}}
3942 steps :
4043 - name : Checkout Arduino-Source
@@ -126,7 +129,9 @@ jobs:
126129 - name : GitHub Release
127130 uses : softprops/action-gh-release@v2
128131 with :
129- files : SerialPrograms-Installer.dmg
132+ files : |
133+ SerialPrograms-Installer.dmg
134+ Packages/PABotBase/PABotBase-Switch/*
130135 # Tag should be automatically set in the case of a tag push
131136 tag_name : ${{ github.event.inputs.version || github.ref_name }}
132137 token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments