Skip to content

Commit

Permalink
game ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pyoneerC committed Sep 26, 2024
1 parent 067cd08 commit d545203
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 44 deletions.
44 changes: 0 additions & 44 deletions .github/workflows/butler.yaml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Desktop.ini
.vs/
*.code-workspace

# Ignore temporaries from GameCI
/[Aa]rtifacts/
/[Cc]odeCoverage/

# Rider
.idea/
*.sln.iml
Expand Down

0 comments on commit d545203

Please sign in to comment.