Skip to content

Commit 50c6fb4

Browse files
committed
Release Artifacts
1 parent 5c899f9 commit 50c6fb4

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,15 @@ jobs:
9595
if: ${{ matrix.runner == 'windows-latest' }}
9696
run: 7z a fpc-${FPC_OS}-${FPC_CPU}.zip fpc/
9797

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"

0 commit comments

Comments
 (0)