Skip to content

game ci

game ci #11

Workflow file for this run

name: Build Unity Project
on:
#push:
#branches:
#- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Discard uncommitted changes
run: |
git reset --hard
git clean -fd
- name: Build Unity Project
uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: StandaloneWindows64
buildName: SubnauticaIBWindows
buildsPath: ./build
- name: Zip Build Output
run: |
zip -r SubnauticaIB.zip ./build/*
- name: Upload to Butler
uses: yeslayla/[email protected]
env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
CHANNEL: windows
ITCH_GAME: subnauticaib
ITCH_USER: pyoneerc1
PACKAGE: SubnauticaIB.zip