Skip to content

Commit

Permalink
Added an osx-x64 build and artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
mkestler-rtp committed Feb 8, 2023
1 parent a7d5738 commit 09aea23
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,19 @@ jobs:
dotnet-quality: 'ga'
- name: Restore
run: dotnet restore
- name: Publish
run: dotnet publish ./DotNETDepends/DotNETDepends.csproj --framework ${{ env.NET_VERSION }} --runtime linux-x64 --self-contained false --configuration Release -o output
- name: Publish Linux
run: dotnet publish ./DotNETDepends/DotNETDepends.csproj --framework ${{ env.NET_VERSION }} --runtime linux-x64 --self-contained false --configuration Release -o ./output
- name: Publish MacOS
run: dotnet publish ./DotNETDepends/DotNETDepends.csproj --framework ${{ env.NET_VERSION }} --runtime osx-x64 --self-contained false --configuration Release -o ./osx/output
- name: Run Tests
run: dotnet test
- name: Archive Release
- name: Archive Linux x64 Release
run: tar -zcvf dotnetdepends.tar.gz ./output/
- name: Archive OSX x64 Release
run: tar -zcvf dotnetdepends-osx-x64.tar.gz ./osx/output/
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: "dotnetdepends.tar.gz"
artifacts: "dotnetdepends.tar.gz,dotnetdepends-osx-x64.tar.gz"
artifactErrorsFailBuild: true

0 comments on commit 09aea23

Please sign in to comment.