File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,15 @@ jobs:
95
95
if : ${{ matrix.runner == 'windows-latest' }}
96
96
run : 7z a fpc-${FPC_OS}-${FPC_CPU}.zip fpc/
97
97
98
- - name : Archive Artifacts
99
- uses : actions/upload-artifact@v4
100
- with :
101
- name : fpc-${{ env.FPC_OS }}-${{ env.FPC_CPU }}-release
102
- path : " fpc-*.zip"
103
- if-no-files-found : error
104
-
98
+ # No need for artifacts actually? This job just updates GH release "snapshot",
99
+ # and other things (like CGE build with bundled FPC) can just download it.
100
+ # - name: Archive Artifacts
101
+ # uses: actions/upload-artifact@v4
102
+ # with:
103
+ # name: fpc-${{ env.FPC_OS }}-${{ env.FPC_CPU }}-release
104
+ # path: "fpc-*.zip"
105
+ # if-no-files-found: error
106
+
107
+ - name : Release Artifacts
108
+ if : ${{ github.ref == 'refs/heads/master' }}
109
+ run : gh release --repo castle-engine/cge-fpc upload snapshot --clobber "fpc-*.zip"
You can’t perform that action at this time.
0 commit comments