diff options
author | kevin <robertsonk@gmail.com> | 2022-09-18 18:54:23 -0400 |
---|---|---|
committer | kevin <robertsonk@gmail.com> | 2022-09-18 18:54:23 -0400 |
commit | c7e26ad348d57f9fd6a944bc03512d5c1abacf84 (patch) | |
tree | 24aa14f5d0833aa630e951c6568fe67b1080b383 /.github/workflows/release.yml | |
parent | 0294aa191958d7e3670f8a909cb1fdea1797841b (diff) | |
download | Inveigh-c7e26ad348d57f9fd6a944bc03512d5c1abacf84.tar.gz Inveigh-c7e26ad348d57f9fd6a944bc03512d5c1abacf84.zip |
proxy auth fixv2.0.7
Fixed proxy auth capture issue
Added Costura.Fody
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b896911..f73107e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,27 +24,29 @@ jobs: - name: Restore Dependencies run: dotnet restore - - name: Build Windows + - name: Build run: | VERSION=${{ github.ref_name }} dotnet build -c release -p:Version=${VERSION:1} - - name: Zip + - name: Zip - Build run: | - 7z a -tzip -mx9 Inveigh-net3.5-win-64-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net35/* - 7z a -tzip -mx9 Inveigh-net4.6.2-win-64-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net462/* - 7z a -tzip -mx9 Inveigh-net6.0-win-64-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net6.0/* -x!*/ + 7z a -tzip -mx9 Inveigh-net3.5-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net35/* + 7z a -tzip -mx9 Inveigh-net4.6.2-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net462/* + 7z a -tzip -mx9 Inveigh-net6.0-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net6.0/* -x!*/ - - name: Publish Linux/macOS + - name: Publish - Trimmed/Single File run: | VERSION=${{ github.ref_name }} dotnet publish --self-contained=true -p:PublishSingleFile=true -p:PublishTrimmed=true -p:Version=${VERSION:1} -r linux-x64 -f net6.0 -p:AssemblyName=inveigh -c release dotnet publish --self-contained=true -p:PublishSingleFile=true -p:PublishTrimmed=true -p:Version=${VERSION:1} -r osx-x64 -f net6.0 -p:AssemblyName=inveigh -c release + dotnet publish --self-contained=true -p:PublishSingleFile=true -p:PublishTrimmed=true -p:Version=${VERSION:1} -r win-x64 -f net6.0 -c release - - name: Zip macOS + - name: Zip - Publish run: | tar -czvf Inveigh-net6.0-linux-x64-trimmed-single-${{ github.ref_name }}.tar.gz --directory=$PWD/Inveigh/bin/release/net6.0/linux-x64/publish/ . tar -czvf Inveigh-net6.0-osx-x64-trimmed-single-${{ github.ref_name }}.tar.gz --directory=$PWD/Inveigh/bin/release/net6.0/osx-x64/publish/ . + 7z a -tzip -mx9 Inveigh-net6.0-win-x64-trimmed-single-${{ github.ref_name }}.zip $PWD/Inveigh/bin/release/net6.0/win-x64/publish/* - name: Release .zip uses: softprops/action-gh-release@v1 |