Skip to content

Bump actions/upload-artifact from 3 to 4 #39

Bump actions/upload-artifact from 3 to 4

Bump actions/upload-artifact from 3 to 4 #39

Workflow file for this run

name: Test Unity game
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
name: Run tests
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Unity tests
uses: game-ci/unity-test-runner@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
- name: Upload results
uses: actions/upload-artifact@v4
with:
name: unity-test-results
path: artifacts