Skip to content

Commit 7150f61

Browse files
authored
Merge pull request #12 from Codesee-io/osx-x64-release-builds
Add an osx-x64 build and artifact
2 parents a7d5738 + 09aea23 commit 7150f61

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,19 @@ jobs:
2222
dotnet-quality: 'ga'
2323
- name: Restore
2424
run: dotnet restore
25-
- name: Publish
26-
run: dotnet publish ./DotNETDepends/DotNETDepends.csproj --framework ${{ env.NET_VERSION }} --runtime linux-x64 --self-contained false --configuration Release -o output
25+
- name: Publish Linux
26+
run: dotnet publish ./DotNETDepends/DotNETDepends.csproj --framework ${{ env.NET_VERSION }} --runtime linux-x64 --self-contained false --configuration Release -o ./output
27+
- name: Publish MacOS
28+
run: dotnet publish ./DotNETDepends/DotNETDepends.csproj --framework ${{ env.NET_VERSION }} --runtime osx-x64 --self-contained false --configuration Release -o ./osx/output
2729
- name: Run Tests
2830
run: dotnet test
29-
- name: Archive Release
31+
- name: Archive Linux x64 Release
3032
run: tar -zcvf dotnetdepends.tar.gz ./output/
33+
- name: Archive OSX x64 Release
34+
run: tar -zcvf dotnetdepends-osx-x64.tar.gz ./osx/output/
3135
- name: Create Release
3236
uses: ncipollo/release-action@v1
3337
with:
34-
artifacts: "dotnetdepends.tar.gz"
38+
artifacts: "dotnetdepends.tar.gz,dotnetdepends-osx-x64.tar.gz"
39+
artifactErrorsFailBuild: true
3540

0 commit comments

Comments
 (0)