Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
add Actions
  • Loading branch information
LingFeng-bbben authored Feb 22, 2024
1 parent 6bf1342 commit 630f124
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build Project
run-name: ${{ github.actor }} is learning GitHub Actions
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
with:
path: Library
key: Library-StandaloneWindows
restore-keys: Library-StandaloneWindows
- uses: game-ci/[email protected]
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: StandaloneWindows
versioning: Semantic
- uses: actions/upload-artifact@v3
with:
name: Build
path: build

0 comments on commit 630f124

Please sign in to comment.