Skip to content

Commit

Permalink
Fix OSX runtime identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
stil committed Dec 10, 2023
1 parent 368e2d9 commit e41bb9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ jobs:
# Build osx-arm64
- name: Build osx-arm64
if: matrix.platform == 'macos-latest'
run: dotnet publish --configuration Release --self-contained -p:PublishSingleFile=true -r osx.11.0-arm64
run: dotnet publish --configuration Release --self-contained -p:PublishSingleFile=true -r osx-arm64
#- name: ZIP osx-arm64
# if: matrix.platform == 'macos-latest'
# run: 7z a -tzip artifacts/efmig-osx-arm64-Release.zip ./Efmig/bin/Release/net8.0/osx.11.0-arm64/publish/*
# run: 7z a -tzip artifacts/efmig-osx-arm64-Release.zip ./Efmig/bin/Release/net8.0/osx-arm64/publish/*
- name: Upload osx-arm64 artifacts
if: matrix.platform == 'macos-latest'
uses: actions/upload-artifact@v3
with:
name: efmig-osx-arm64-Release
path: Efmig/bin/Release/net8.0/osx.11.0-arm64/publish/
path: Efmig/bin/Release/net8.0/osx-arm64/publish/
if-no-files-found: error
2 changes: 1 addition & 1 deletion workflowgen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const extraSteps = [
platformTemplateGen("linux-x64", "linux-x64", "ubuntu-latest"),
platformTemplateGen("linux-arm64", "linux-arm64", "ubuntu-latest"),
platformTemplateGen("osx-x64", "osx-x64", "macos-latest"),
platformTemplateGen("osx-arm64", "osx.11.0-arm64", "macos-latest"),
platformTemplateGen("osx-arm64", "osx-arm64", "macos-latest"),
].join("");

const template = `
Expand Down

0 comments on commit e41bb9a

Please sign in to comment.