Skip to content

CI-CD-workflow

CI-CD-workflow #7

Workflow file for this run

name: Build Godot Executeable
on:
push:
branches: main
pull_request:
branches: main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [windows, linux]
steps:
- uses: actions/checkout@v4
- name: Godot Build
id: build
# workaround for https://github.com/yeslayla/build-godot-action/issues/30
uses: manleydev/build-godot-action@f759ed7f8fcb5137cb70873ecf663aa8a1bd998b
with:
name: Quiz4Everyone
preset: ${{ matrix.os }}
debugMode: ${{ github.event_name != 'push' || github.ref != 'main' }}
- name: Artifact
uses: actions/upload-artifact@v4
with:
name: Quiz4Everyone_${{ matrix.os }}
path: ${{ steps.build.outputs.build }}
upload:
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy to Steamworks
uses: game-ci/steam-deploy@v3
with:
username: ${{ secrets.STEAM_USERNAME }}
configVdf: ${{ secrets.STEAM_CONFIG_VDF}}
appId: 2978800
buildDescription: github-${{ github.event.head_commit.id }} ${{ github.event.head_commit.message }}
rootPath: build
depot1Path: Quiz4Everyone_windows
releaseBranch: alpha