Fix scope being disposed prematurely #189
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: Build installation packages | |
on: push | |
jobs: | |
build: | |
name: Build installation packages on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-2019, ubuntu-22.04] | |
include: | |
- os: windows-2019 | |
script_name: .\build.cmd | |
- os: ubuntu-22.04 | |
script_name: ./build.sh | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
- name: Download and install node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '14.x' | |
- name: Install .NET 8.x SDK for build | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: '8.0.100' | |
- name: Restore .NET Core tools | |
run: dotnet tool restore | |
- name: Build - restore nuget packages | |
run: ${{ matrix.script_name }} --target=restore-nuget-packages --verbosity=verbose | |
- name: Publish | |
run: ${{ matrix.script_name }} --target=Publish --verbosity=verbose | |
- name: Upload built packages | |
uses: actions/upload-artifact@v1 | |
continue-on-error: true | |
with: | |
name: installation packages | |
path: build/publish/ # We upload *everything*, but I'd rather upload just the zip files |