From 40c02c2793e7cee84951051e938a53240b9c44b8 Mon Sep 17 00:00:00 2001 From: Shiokai <66198929+Gs-itisitcat@users.noreply.github.com> Date: Sun, 10 Mar 2024 21:10:52 +0900 Subject: [PATCH] Update dotnet-publish.yml --- .github/workflows/dotnet-publish.yml | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/.github/workflows/dotnet-publish.yml b/.github/workflows/dotnet-publish.yml index 229a4f7..ecdeef2 100644 --- a/.github/workflows/dotnet-publish.yml +++ b/.github/workflows/dotnet-publish.yml @@ -32,41 +32,31 @@ jobs: echo "::set-output name=VERSION::$VERSION" shell: bash - - name: Publish Runtime Dependent Any - run: | - dotnet publish git-local-repository-listing/git-local-repository-listing.csproj --configuration Release --output publish/runtime-dependent-any --self-contained false -p:PublishSingleFile=false - cd publish/runtime-dependent-any - zip -r ../../lepol-any-runtime-dependent-${{ steps.get_version.outputs.VERSION }}.zip . - cd ../.. - zip -j lepol-any-runtime-dependent-${{ steps.get_version.outputs.VERSION }}.zip src/lepos.bash - - - - name: Publish Windows Runtime Dependent + - name: Publish Windows x64 Runtime Dependent run: | dotnet publish git-local-repository-listing/git-local-repository-listing.csproj --configuration Release --output publish/windows-runtime-dependent --runtime win-x64 --self-contained false - zip -r -j lepol-windows-runtime-dependent-${{ steps.get_version.outputs.VERSION }}.zip publish/windows-runtime-dependent src/lepos.bash + zip -r -j lepol-windows-x64-runtime-dependent-${{ steps.get_version.outputs.VERSION }}.zip publish/windows-runtime-dependent src/lepos.bash - - name: Publish Windows Self-Contained + - name: Publish Windows x64 Self-Contained run: | dotnet publish git-local-repository-listing/git-local-repository-listing.csproj --configuration Release --output publish/windows-self-contained --runtime win-x64 --self-contained true - zip -r -j lepol-windows-self-contained-${{ steps.get_version.outputs.VERSION }}.zip publish/windows-self-contained src/lepos.bash + zip -r -j lepol-windows-x64-self-contained-${{ steps.get_version.outputs.VERSION }}.zip publish/windows-self-contained src/lepos.bash - - name: Publish Linux Runtime Dependent + - name: Publish Linux x64 Runtime Dependent run: | dotnet publish git-local-repository-listing/git-local-repository-listing.csproj --configuration Release --output publish/linux-runtime-dependent --runtime linux-x64 --self-contained false - zip -r -j lepol-linux-runtime-dependent-${{ steps.get_version.outputs.VERSION }}.zip publish/linux-runtime-dependent src/lepos.bash + zip -r -j lepol-linux-x64-runtime-dependent-${{ steps.get_version.outputs.VERSION }}.zip publish/linux-runtime-dependent src/lepos.bash - - name: Publish Linux Self-Contained + - name: Publish Linux x64 Self-Contained run: | dotnet publish git-local-repository-listing/git-local-repository-listing.csproj --configuration Release --output publish/linux-self-contained --runtime linux-x64 --self-contained true - zip -r -j lepol-linux-self-contained-${{ steps.get_version.outputs.VERSION }}.zip publish/linux-self-contained src/lepos.bash + zip -r -j lepol-linux-x64-self-contained-${{ steps.get_version.outputs.VERSION }}.zip publish/linux-self-contained src/lepos.bash - name: Release with action-gh-release uses: softprops/action-gh-release@v1 with: files: | - lepol-any-runtime-dependent-${{ steps.get_version.outputs.VERSION }}.zip lepol-windows-runtime-dependent-${{ steps.get_version.outputs.VERSION }}.zip lepol-windows-self-contained-${{ steps.get_version.outputs.VERSION }}.zip lepol-linux-runtime-dependent-${{ steps.get_version.outputs.VERSION }}.zip