Skip to content

Commit

Permalink
fix: ci updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor0814gui committed Jan 16, 2024
1 parent 9efd2f6 commit 46028e4
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/windows-paper-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Windows CI
on: workflow_dispatch
on:
workflow_dispatch

# Only run on the latest workflow run
concurrency:
Expand All @@ -12,31 +13,40 @@ jobs:
runs-on: windows-2022

steps:
- uses: actions/checkout@v3
name: Checkout Code
- name: Checkout Code
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "^16"
cache: "yarn"

- name: Setup NuGet
uses: nuget/setup-nuget@v1
with:
nuget-version: "5.x"

- name: Setup Windows SDKs
- uses: GuillaumeFalourd/setup-windows10-sdk-action@v1.11
uses: GuillaumeFalourd/setup-windows10-sdk-action@v1.11
with:
sdk-version: 18362

- uses: GuillaumeFalourd/setup-windows10-sdk-action@v1.11
with:
sdk-version: 17763

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
with:
vs-version: '[16.0,17.0)'
msbuild-architecture: x64

- name: Install node modules
run: yarn install --frozen-lock

- name: Build x64 release
shell: powershell
run: cd ./apps/paper | yarn react-native run-windows --arch x64 --sln ./windows/cppwinrt/Example.sln --proj ./windows/cppwinrt/Example.vcxproj --logging --no-autolink --no-deploy
run: |
Set-Location -Path ./apps/paper
yarn react-native run-windows --arch x64 --sln ./windows/cppwinrt/Example.sln --proj ./windows/cppwinrt/Example.vcxproj --logging --no-autolink --no-deploy

0 comments on commit 46028e4

Please sign in to comment.