update: ci workflow run withou pull #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows CI | |
on: workflow_dispatch | |
# Only run on the latest workflow run | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run-windows-tests: | |
name: Build & run tests | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout Code | |
- 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 | |
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 |