Skip to content

Commit

Permalink
Update dotnet-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Gs-itisitcat authored Mar 9, 2024
1 parent cd295c2 commit ff85362
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,22 @@ jobs:

- name: Publish Runtime Dependent
run: |
dotnet publish --configuration Release --output publish/runtime-dependent
dotnet publish git-local-repository-listing/git-local-repository-listing.csproj --configuration Release --output publish/runtime-dependent
zip -r runtime-dependent-${{ steps.get_version.outputs.VERSION }}.zip publish/runtime-dependent src/lepos.bash
- name: Publish Runtime Independent
run: |
dotnet publish --configuration Release --output publish/runtime-independent --self-contained false
dotnet publish git-local-repository-listing/git-local-repository-listing.csproj --configuration Release --output publish/runtime-independent --self-contained false
zip -r runtime-independent-${{ steps.get_version.outputs.VERSION }}.zip publish/runtime-independent src/lepos.bash
- name: Publish Windows Self-Contained (Trimmed)
run: |
dotnet publish --configuration Release --output publish/windows-self-contained --runtime win-x64 --self-contained true /p:PublishTrimmed=true
dotnet publish git-local-repository-listing/git-local-repository-listing.csproj --configuration Release --output publish/windows-self-contained --runtime win-x64 --self-contained true /p:PublishTrimmed=true
zip -r windows-self-contained-${{ steps.get_version.outputs.VERSION }}.zip publish/windows-self-contained src/lepos.bash
- name: Publish Linux Self-Contained (Trimmed)
run: |
dotnet publish --configuration Release --output publish/linux-self-contained --runtime linux-x64 --self-contained true /p:PublishTrimmed=true
dotnet publish git-local-repository-listing/git-local-repository-listing.csproj --configuration Release --output publish/linux-self-contained --runtime linux-x64 --self-contained true /p:PublishTrimmed=true
zip -r linux-self-contained-${{ steps.get_version.outputs.VERSION }}.zip publish/linux-self-contained src/lepos.bash
- name: Create Release
Expand Down

0 comments on commit ff85362

Please sign in to comment.