-
Notifications
You must be signed in to change notification settings - Fork 29
45 lines (40 loc) · 1.22 KB
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master", "itchio-integration" ]
pull_request:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
ITCH_USERNAME: guilhermegsousa
ITCH_GAME_ID: test-game
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
platform:
- html5
steps:
- uses: actions/checkout@v2
- uses: chickensoft-games/setup-godot@v2.1.1
with:
version: 4.3.0-beta3
include-templates: true
use-dotnet: false
- name: Web Build
run: |
mkdir -v -p build/web
godot -v --export-release "html5" --headless
# - uses: KikimoraGames/itch-publish@v0.0.3
# with:
# butlerApiKey: ${{secrets.BUTLER_API_KEY}}
# gameData: ./build/${{ matrix.platform }}
# itchUsername: ${{env.ITCH_USERNAME}}
# itchGameId: ${{ env.ITCH_GAME_ID }}
# buildChannel: ${{ matrix.platform }}