File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11name : Release
22on :
3+ workflow_dispatch :
34 push :
45 tags :
56 - ' *'
3940 - name : Create Release info
4041 run : ./.deploy/gen_release_info.py
4142 - uses : actions/create-release@v1
43+ if : github.event_name == 'push'
4244 id : create_release
4345 env :
4446 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7173 - name : " Sysroot Build with Mingw-w64"
7274 run : ./do_sysroot.sh
7375 - uses : actions/upload-release-asset@v1
74- if : matrix.arch == 'x86-64'
76+ if : matrix.arch == 'x86-64' && github.event_name == 'push'
7577 env :
7678 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7779 with :
8082 asset_name : rtl_433-win-x64-${{ needs.release_job.outputs.release_version }}.zip
8183 asset_content_type : application/zip
8284 - uses : actions/upload-release-asset@v1
83- if : matrix.arch == 'x86-64'
85+ if : matrix.arch == 'x86-64' && github.event_name == 'push'
8486 env :
8587 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8688 with :
@@ -182,7 +184,7 @@ jobs:
182184 ls -al dist
183185 7z a rtl_433-win-msvc-x64.zip ./dist/*
184186 - uses : actions/upload-release-asset@v1
185- if : matrix.os == 'windows-2019' && matrix.platform == 'x64'
187+ if : matrix.os == 'windows-2019' && matrix.platform == 'x64' && github.event_name == 'push'
186188 env :
187189 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
188190 with :
You can’t perform that action at this time.
0 commit comments