File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 with :
2020 dotnet-version : 8.0.x
2121 - name : Publish for Linux
22- run : dotnet publish SimplestLoadBalancer.csproj -o ./SimplestLoadBalancer-${{ github.run_id }}-linux-x64 -c Release -r linux-x64 /p:PublishSingleFile=true /p:PublishReadyToRun=true --self-contained
22+ run : dotnet publish SimplestLoadBalancer.csproj -o ./SimplestLoadBalancer-${{ github.run_id }}-linux-x64 -c Release -r linux-x64
2323 - name : Archive Zip
2424 uses : actions/upload-artifact@v4
2525 with :
Original file line number Diff line number Diff line change 2525 echo "VERSION=${{ github.ref_name }}" >> "$GITHUB_OUTPUT"
2626 echo "RELEASE_ID=$(jq --raw-output '.release.id' $GITHUB_EVENT_PATH)" >> "$GITHUB_OUTPUT"
2727 - name : Publish for OS
28- run : dotnet publish SimplestLoadBalancer.csproj -o ./publish/win-${{ matrix.rid }} -c Release -r win-${{ matrix.rid }} /p:PublishSingleFile=true /p:PublishReadyToRun=true /p: Version=${{ steps.get_version.outputs.VERSION }} --self-contained
28+ run : dotnet publish SimplestLoadBalancer.csproj -o ./publish/win-${{ matrix.rid }} -c Release -r win-${{ matrix.rid }} /p:Version=${{ steps.get_version.outputs.VERSION }}
2929 - name : Add msbuild to PATH
3030 uses : microsoft/setup-msbuild@v2
3131 - name : Install WiX
Original file line number Diff line number Diff line change 2121 echo "VERSION=${{ github.ref_name }}" >> $GITHUB_OUTPUT
2222 echo "RELEASE_ID=$(jq --raw-output '.release.id' $GITHUB_EVENT_PATH)" >> $GITHUB_OUTPUT
2323 - name : Publish for OS
24- run : dotnet publish SimplestLoadBalancer.csproj -o ./slb-${{ matrix.rid }} -c Release -r ${{ matrix.rid }} /p:PublishSingleFile=true /p:PublishReadyToRun=true /p: Version=${{ steps.get_version.outputs.VERSION }} --self-contained
24+ run : dotnet publish SimplestLoadBalancer.csproj -o ./slb-${{ matrix.rid }} -c Release -r ${{ matrix.rid }} /p:Version=${{ steps.get_version.outputs.VERSION }}
2525 - name : Zip it Up
2626 run : zip -r -j SimplestLoadBalancer-${{ steps.get_version.outputs.VERSION }}-${{ matrix.rid }}.zip ./slb-${{ matrix.rid }}
2727 - name : Upload ZIP to Releaase
You can’t perform that action at this time.
0 commit comments