Skip to content

Commit

Permalink
- fix macOS build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
irahopkinson committed Sep 28, 2023
1 parent 641f0ca commit d72d3df
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/package-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ jobs:
echo "Updating version from ${CURRENT_VERSION} to ${NEW_VERSION}"
npm version $NEW_VERSION
- name: dotnet build - MacOS and Windows
if: ${{ matrix.os == 'macos-latest' }}
run: |
npm run build:data-release:windows
npm run build:data-release:macos
- name: dotnet build - Linux
if: ${{ matrix.os == 'ubuntu-latest' }}
run: npm run build:data-release:linux

- name: Install DMG license
if: ${{ matrix.os == 'macos-latest' }}
run: npm install dmg-license
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"build:data-release": "run-script-os",
"build:data-release:windows": "dotnet publish c-sharp/ParanextDataProvider.csproj -r win-x64 -o ./c-sharp/bin/Release/net7.0/publish/win-x64/",
"build:data-release:linux": "dotnet publish c-sharp/ParanextDataProvider.csproj -r linux-x64 -o ./c-sharp/bin/Release/net7.0/publish/linux-x64/",
"build:data-release:macos": "dotnet publish c-sharp/ParanextDataProvider.csproj -r osx-x64 -o ./c-sharp/bin/Release/net7.0/publish/osx-x64/ && dotnet publish c-sharp/ParanextDataProvider.csproj -p:PublishProfile=FolderProfile -r osx-arm64 -o ./c-sharp/bin/Release/net7.0/publish/osx-arm64/",
"build:data-release:macos": "dotnet publish c-sharp/ParanextDataProvider.csproj -r osx-x64 -o ./c-sharp/bin/Release/net7.0/publish/osx-x64/ && dotnet publish c-sharp/ParanextDataProvider.csproj -r osx-arm64 -o ./c-sharp/bin/Release/net7.0/publish/osx-arm64/",
"build:types": "cd lib/papi-dts && npm run build",
"build:papi-components": "cd lib/papi-components && npm run build",
"csharp:tool:restore": "cd c-sharp && dotnet tool restore",
Expand Down

0 comments on commit d72d3df

Please sign in to comment.