Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hadashiA committed Mar 8, 2024
1 parent e57ca25 commit 30dc233
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:

build-unity:
if: "((github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:'))"
strategy:
matrix:
unity: ["2021.3.11f1"]
# strategy:
# matrix:
# unity: ["2021.3.11f1"]
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,18 @@ jobs:

build-unity:
needs: [update-packagejson]
# strategy:
# matrix:
# unity: ["2021.3.11f1"]
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- run: echo ${{ needs.update-packagejson.outputs.sha }}
- uses: actions/checkout@v3
with:
ref: ${{ needs.update-packagejson.outputs.sha }}
# # Execute scripts: Export Package
# # /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath . -executeMethod PackageExporter.Export
# Execute scripts: Export Package
# /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath . -executeMethod PackageExporter.Export
# - name: Build Unity (.unitypacakge)
# uses: Cysharp/Actions/.github/actions/unity-builder@main
# env:
Expand All @@ -68,7 +71,7 @@ jobs:
- uses: Cysharp/Actions/.github/actions/check-metas@main
with:
directory: src/MemoryPack.Unity
# Store artifacts.
# # Store artifacts.
# - uses: actions/upload-artifact@v3
# with:
# name: MemoryPack.${{ inputs.tag }}.unitypackage
Expand Down
2 changes: 1 addition & 1 deletion src/MemoryPack/MemoryPack.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</PropertyGroup>

<ItemGroup>
<EmbeddedResource Include="..\..\LICENSE" />
<EmbeddedResource Include="..\..\LICENSE.md" />
<None Include="../../Icon.png" Pack="true" PackagePath="/" />
<ProjectReference Include="..\MemoryPack.Core\MemoryPack.Core.csproj" />
<ProjectReference Include="..\MemoryPack.Generator\MemoryPack.Generator.csproj" />
Expand Down

0 comments on commit 30dc233

Please sign in to comment.