Skip to content

Commit

Permalink
Create main.yml Auto build
Browse files Browse the repository at this point in the history
  • Loading branch information
LingFeng-bbben authored Feb 27, 2024
1 parent 61cd4e8 commit cd176e6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build Project
run-name: Build exe for Windows Standalone
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/unity-builder@v4.2.1
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: StandaloneWindows
versioning: Semantic
buildName: MajdataPlay
- run: ls -R
- uses: actions/upload-artifact@v3
with:
name: Build
path: build

0 comments on commit cd176e6

Please sign in to comment.