Skip to content

Commit

Permalink
fix: Continue to work on GH action.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhazen committed Sep 6, 2024
1 parent fff9751 commit b0cab50
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/static-code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
customParameters: -batchmode -quit -projectPath ./ -createSolution
targetPlatform: StandaloneLinux64
customParameters: -createSolution
continue-on-error: true

- name: Run ls on current directory
run: |
Expand All @@ -62,13 +64,15 @@ jobs:
run: |
# Run Unity in batch mode to generate .sln and .csproj files
/opt/unity/Editor/Unity -batchmode -quit -projectPath . -executeMethod UnityEditor.SyncVS.SyncSolution
continue-on-error: true

# Restores NuGet packages (of which the Roslynator Analyzers are members)
- name: Restore NuGet packages
run: |
# Assuming Unity generates files in the root or known subdirectory
dotnet restore eos_plugin_for_unity.sln # Update with the correct path
continue-on-error: true

# Actually run the static code analysis of the project
- name: Run static code analysis
run: |
Expand Down

0 comments on commit b0cab50

Please sign in to comment.