Skip to content

Commit 2a7f5df

Browse files
committed
Cleanup
1 parent 7928fa3 commit 2a7f5df

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
pull_request:
88
workflow_dispatch: # e.g. to manually trigger on foreign PRs
99

10-
env:
11-
UNITY_VERSION: '6000.1.12f1'
12-
1310
jobs:
1411
cancel-previous-workflow:
1512
runs-on: ubuntu-latest
@@ -32,7 +29,7 @@ jobs:
3229
os: ubuntu-latest
3330

3431
steps:
35-
- name: Free disk space
32+
- name: Free disk space # Android builds runs out of disk space otherwise
3633
if: matrix.os == 'ubuntu-latest'
3734
run: |
3835
sudo rm -rf /usr/share/dotnet
@@ -81,15 +78,15 @@ jobs:
8178
targetPlatform: ${{ matrix.targetPlatform }}
8279
unityLicensingServer: ${{ secrets.LICENSE_SERVER_URL }}
8380
buildName: SentaurSurvivors-${{ matrix.targetPlatform }}
84-
customParameters: -dsn ${{ secrets.DSN }} -auth_token ${{ secrets.AUTH_TOKEN }}
81+
customParameters: -dsn ${{ secrets.DSN }} -auth_token ${{ secrets.AUTH_TOKEN }} # Arguments cannot be passed via ENV
8582
allowDirtyBuild: true
8683

8784
- name: Upload Build Artifact
8885
uses: actions/upload-artifact@v4
8986
if: always()
9087
with:
91-
name: Build-${{ matrix.targetPlatform }}
92-
path: build
88+
name: SentaurSurvivors-${{ matrix.targetPlatform }}
89+
path: Build
9390
retention-days: 90
9491

9592
run-demo:

.github/workflows/run-demo.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ jobs:
1616
runs-on: windows-latest
1717

1818
steps:
19-
- name: Download Windows Build
19+
- name: Download Build
2020
uses: actions/download-artifact@v4
2121
with:
22-
name: Build-StandaloneWindows64
23-
path: ./build
22+
name: SentaurSurvivors-StandaloneWindows64
23+
path: ./Build
2424
github-token: ${{ secrets.GITHUB_TOKEN }}
2525
run-id: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.id || github.run_id }}
2626

27-
- name: Run Windows Build
27+
- name: Run Build
2828
timeout-minutes: 10
2929
env:
3030
SENTRY_DSN: ${{ secrets.DSN }}
3131
run: |
32-
$exePath = Get-ChildItem -Path "./build" -Filter "SentaurSurvivors-*.exe" -Recurse | Select-Object -First 1
32+
$exePath = Get-ChildItem -Path "./Build" -Filter "SentaurSurvivors-*.exe" -Recurse | Select-Object -First 1
3333
if ($exePath)
3434
{
3535
Write-Output "Found executable: $($exePath.FullName)"

0 commit comments

Comments
 (0)