File tree Expand file tree Collapse file tree 1 file changed +25
-11
lines changed
Expand file tree Collapse file tree 1 file changed +25
-11
lines changed Original file line number Diff line number Diff line change @@ -76,15 +76,29 @@ jobs:
7676 name : OCLP-R-Uninstaller.pkg
7777 path : ./dist/OCLP-R-Uninstaller.pkg
7878
79- - name : Create Pre-Release on Push
80- if : github.event_name == 'push '
81- uses : softprops/action-gh- release@v2
79+ - name : Upload AutoPkg Package to Release
80+ if : github.event_name == 'release '
81+ uses : svenstaro/upload- release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d
8282 with :
83- tag_name : 3.0.2
84- name : 3.0.2 Tahoe Test
85- body : ${{ github.event.head_commit.message }}
86- prerelease : true
87- files : |
88- ./dist/AutoPkg-Assets.pkg
89- ./dist/OCLP-R.pkg
90- ./dist/OCLP-R-Uninstaller.pkg
83+ repo_token : ${{ secrets.GITHUB_TOKEN }}
84+ file : ./dist/AutoPkg-Assets.pkg
85+ tag : ${{ github.ref }}
86+ file_glob : true
87+
88+ - name : Upload Installation Package to Release
89+ if : github.event_name == 'release'
90+ uses : svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d
91+ with :
92+ repo_token : ${{ secrets.GITHUB_TOKEN }}
93+ file : ./dist/OCLP-R.pkg
94+ tag : ${{ github.ref }}
95+ file_glob : true
96+
97+ - name : Upload Uninstaller Package to Release
98+ if : github.event_name == 'release'
99+ uses : svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d
100+ with :
101+ repo_token : ${{ secrets.GITHUB_TOKEN }}
102+ file : ./dist/OCLP-R-Uninstaller.pkg
103+ tag : ${{ github.ref }}
104+ file_glob : true
You can’t perform that action at this time.
0 commit comments