Skip to content

Commit

Permalink
Update windows_develop_workflow.yml
Browse files Browse the repository at this point in the history
updating build work flow to new license key + update of games-ci build to v4 and Windows to 2022
  • Loading branch information
fwild authored Sep 6, 2024
1 parent 62d10e4 commit e64c009
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/windows_develop_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
build_unity:
name: Build Unity project
runs-on: windows-2019
runs-on: windows-2022
outputs:
buildVersion: ${{ steps.buildStep.outputs.buildVersion }}
steps:
Expand Down Expand Up @@ -54,12 +54,13 @@ jobs:

# Build stage
- name: Unity builder
uses: game-ci/unity-builder@v2.1.1
uses: game-ci/unity-builder@v4
id: buildStep
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE_WINDOWS }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL_ED }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD_ED }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE_ED }}
with:
targetPlatform: WSAPlayer
unityVersion: 2022.3.7f1
Expand All @@ -77,7 +78,7 @@ jobs:

build_hololens:
name: Build Hololens
runs-on: windows-2019
runs-on: windows-2022
needs: build_unity
outputs:
browser_download_url: ${{ steps.releaseUpload.outputs.browser_download_url }}
Expand Down Expand Up @@ -128,7 +129,7 @@ jobs:
uses: ilammy/msvc-dev-cmd@v1

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2 # v1
uses: microsoft/setup-msbuild@v2

- name: Download WSAPlayer Artifact
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -179,7 +180,7 @@ jobs:
SLACK_URL: ${{ secrets.SLACK_URL }}
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
APP_VERSION: ${{ needs.build_unity.outputs.buildVersion }}
TARGET_PLATFORM: $RUNNER_OS
TARGET_PLATFORM: runner.os
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand Down

0 comments on commit e64c009

Please sign in to comment.