Skip to content

Commit

Permalink
Merge pull request #135 from 2024FALL-SWPP/fix/build-error
Browse files Browse the repository at this point in the history
Fix Unity Continuous Deployment
  • Loading branch information
gyusang authored Dec 11, 2024
2 parents 1a2545f + 56ba57b commit d61c854
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Remove test code
run: rm -rf Assets/Scripts/Tests
rm Assets/Scripts/*.asmdef{,.meta}

- name: Build Unity Project
uses: game-ci/unity-builder@v4
with:
unityVersion: 2021.3.42f1
targetPlatform: WebGL
allowDirtyBuild: true
env:
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
Expand Down
1 change: 1 addition & 0 deletions Assets/Scripts/EditmodeTests.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"includePlatforms": [
"Editor",
"macOSStandalone",
"WebGL",
"WindowsStandalone64"
],
"excludePlatforms": [],
Expand Down
8 changes: 8 additions & 0 deletions Assets/Scripts/Tests.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d61c854

Please sign in to comment.