Switch bundled Elm compiler to elm-syntax version 7.3.7 #91
Workflow file for this run
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-native-tools | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- "implement/native-tools/**" | |
- ".github/workflows/build-native-tools.yml" | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
environment: [ubuntu-22.04, windows-2022, macos-13] | |
include: | |
- environment: ubuntu-22.04 | |
publish-runtime-id: linux-x64 | |
- environment: windows-2022 | |
publish-runtime-id: win-x64 | |
- environment: macos-13 | |
publish-runtime-id: osx-x64 | |
runs-on: ${{ matrix.environment }} | |
steps: | |
- name: Avoid git mutating files on checkout | |
run: | | |
git config --global core.autocrlf false | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.403' | |
- name: Try use dotnet | |
run: dotnet --info | |
- name: Clean package cache as a temporary workaround for https://github.com/actions/setup-dotnet/issues/155 | |
run: dotnet clean ./implement/native-tools/native-tools.csproj && dotnet nuget locals all --clear | |
- name: dotnet publish | |
run: dotnet publish -c Debug -r ${{ matrix.publish-runtime-id }} --output ./dotnet-build ./implement/native-tools | |
- name: Copy artifacts to publish | |
shell: pwsh | |
run: | | |
New-Item -ItemType Directory -Force -Path "./publish"; | |
Get-ChildItem -Path "./dotnet-build/" -Filter "native-tools*" | ForEach-Object { Copy-Item -Path $_.FullName -Destination "./publish/" } | |
- name: Publish artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: native-tools-bin-${{ github.sha }}-${{ matrix.publish-runtime-id }} | |
path: ./publish |