Skip to content

chore: Updating to the latest package #14

chore: Updating to the latest package

chore: Updating to the latest package #14

name: Build Untitled Cat Game
on:
push:
branches:
- main
pull_request:
paths:
- "Projects/UntitledCatGame/**"
jobs:
build:
runs-on: [unity-linux-runner] # This can be replaced with "ubuntu-latest" to use GitHub provided runners
permissions:
contents: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# We need the tags and branches for gitversion to properly determine the version
fetch-depth: 0
lfs: true
- uses: actions/cache@v4
with:
path: Projects/UntitledCatGame/Library
key: Library-UntitledCatGame
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0
with:
versionSpec: '5.x'
- id: gitversion
name: Determine Version
uses: gittools/actions/gitversion/execute@v0
with:
useConfigFile: true