Merge pull request #43 from mackysoft/update-release-workflow

Update release.yaml
This commit is contained in:
Makihiro 2023-12-31 17:44:04 +09:00 committed by GitHub
commit 1e52b89dd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,10 +61,10 @@ jobs:
needs: [update-packagejson] needs: [update-packagejson]
strategy: strategy:
matrix: matrix:
unity: ["2020.3.8f1"] unity: ["2021.3.29f1"]
include: include:
- unityVersion: 2020.3.8f1 - unityVersion: 2021.3.29f1
license: UNITY_LICENSE_2020 license: UNITY_LICENSE
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15 timeout-minutes: 15
steps: steps:
@ -74,9 +74,11 @@ jobs:
ref: ${{ needs.update-packagejson.outputs.sha }} ref: ${{ needs.update-packagejson.outputs.sha }}
- name: Export unitypackage - name: Export unitypackage
uses: game-ci/unity-builder@v2 uses: game-ci/unity-builder@v4
env: env:
UNITY_LICENSE: ${{ secrets[matrix.license] }} UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with: with:
projectPath: . projectPath: .
unityVersion: ${{ matrix.unityVersion }} unityVersion: ${{ matrix.unityVersion }}