Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
7cd241b0f2 | |||
0a76e96f1d | |||
12f8379095 |
@ -9,6 +9,9 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
GAME_NAME: GodotExampleProject
|
GAME_NAME: GodotExampleProject
|
||||||
|
ITCHIO_USERNAME: Minimata
|
||||||
|
ITCHIO_GAMEID: CICDTestProject
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
BumpTag:
|
BumpTag:
|
||||||
@ -66,14 +69,48 @@ jobs:
|
|||||||
mkdir -v -p build/mac
|
mkdir -v -p build/mac
|
||||||
godot --headless --verbose --export-release "macOS" build/mac/${{ env.GAME_NAME }}.zip
|
godot --headless --verbose --export-release "macOS" build/mac/${{ env.GAME_NAME }}.zip
|
||||||
zip -r Mac.zip build/mac
|
zip -r Mac.zip build/mac
|
||||||
- name: Upload to release
|
|
||||||
uses: akkuman/gitea-release-action@v1
|
- name: Upload Windows build
|
||||||
env:
|
uses: actions/upload-artifact@v3
|
||||||
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
|
||||||
with:
|
with:
|
||||||
name: Running release
|
name: WindowsBuild
|
||||||
tag_name: ${{ needs.BumpTag.outputs.tag_name }}
|
path: Windows.zip
|
||||||
files: |-
|
- name: Upload to Itch
|
||||||
Windows.zip
|
uses: KikimoraGames/itch-publish@v0.0.3
|
||||||
Linux.zip
|
with:
|
||||||
Mac.zip
|
butlerApiKey: ${{ secrets.BUTLER_TOKEN }}
|
||||||
|
itchUsername: ${{ env.ITCHIO_USERNAME }}
|
||||||
|
itchGameId: ${{ env.ITCHIO_GAMEID }}
|
||||||
|
buildNumber: ${{ needs.BumpTag.outputs.tag_name }}
|
||||||
|
gameData: Windows.zip
|
||||||
|
buildChannel: windows
|
||||||
|
|
||||||
|
- name: Upload Linux build
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: LinuxBuild
|
||||||
|
path: Linux.zip
|
||||||
|
- name: Upload to Itch
|
||||||
|
uses: KikimoraGames/itch-publish@v0.0.3
|
||||||
|
with:
|
||||||
|
butlerApiKey: ${{ secrets.BUTLER_TOKEN }}
|
||||||
|
itchUsername: ${{ env.ITCHIO_USERNAME }}
|
||||||
|
itchGameId: ${{ env.ITCHIO_GAMEID }}
|
||||||
|
buildNumber: ${{ needs.BumpTag.outputs.tag_name }}
|
||||||
|
gameData: Linux.zip
|
||||||
|
buildChannel: linux
|
||||||
|
|
||||||
|
- name: Upload Mac build
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: MacBuild
|
||||||
|
path: Mac.zip
|
||||||
|
- name: Upload to Itch
|
||||||
|
uses: KikimoraGames/itch-publish@v0.0.3
|
||||||
|
with:
|
||||||
|
butlerApiKey: ${{ secrets.BUTLER_TOKEN }}
|
||||||
|
itchUsername: ${{ env.ITCHIO_USERNAME }}
|
||||||
|
itchGameId: ${{ env.ITCHIO_GAMEID }}
|
||||||
|
buildNumber: ${{ needs.BumpTag.outputs.tag_name }}
|
||||||
|
gameData: Mac.zip
|
||||||
|
buildChannel: mac
|
||||||
|
Reference in New Issue
Block a user