diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 93f39c9..127d02b 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -28,29 +28,23 @@ jobs: strategy: matrix: unity: ["2019.3.9f1", "2019.4.13f1", "2020.1.12f1"] - include: - - unity: 2019.3.9f1 - license: UNITY_LICENSE_2019 - - unity: 2019.4.13f1 - license: UNITY_LICENSE_2019 - - unity: 2020.1.12f1 - license: UNITY_LICENSE_2020 runs-on: ubuntu-latest timeout-minutes: 15 steps: - uses: actions/checkout@v3 # Execute scripts: Export Package # /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath . -executeMethod PackageExporter.Export - - name: Export unitypackage - uses: game-ci/unity-builder@v2 + - name: Build Unity (.unitypacakge) + uses: Cysharp/Actions/.github/actions/unity-builder@main env: - UNITY_LICENSE: ${{ secrets[matrix.license] }} + UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} + UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }} with: projectPath: src/Ulid.Unity unityVersion: ${{ matrix.unity }} targetPlatform: StandaloneLinux64 buildMethod: PackageExporter.Export - versioning: None - uses: Cysharp/Actions/.github/actions/check-metas@main # check meta files with: diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 5095c7a..201b655 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -53,9 +53,6 @@ jobs: strategy: matrix: unity: ["2019.3.9f1"] - include: - - unity: 2019.3.9f1 - license: UNITY_LICENSE_2019 runs-on: ubuntu-latest timeout-minutes: 15 steps: @@ -65,17 +62,18 @@ jobs: # Execute scripts: Export Package # /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath . -executeMethod PackageExporter.Export - - name: Export unitypackage - uses: game-ci/unity-builder@v2 + - name: Build Unity (.unitypacakge) + uses: Cysharp/Actions/.github/actions/unity-builder@main env: + UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} + UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }} UNITY_PACKAGE_VERSION: ${{ env.GIT_TAG }} - UNITY_LICENSE: ${{ secrets[matrix.license] }} with: projectPath: src/Ulid.Unity unityVersion: ${{ matrix.unity }} targetPlatform: StandaloneLinux64 buildMethod: PackageExporter.Export - versioning: None - uses: Cysharp/Actions/.github/actions/check-metas@main # check meta files with: