Skip to content

Commit

Permalink
ci: deprecate unofficial action
Browse files Browse the repository at this point in the history
  • Loading branch information
ChecksumDev committed Aug 27, 2023
1 parent 4474a6f commit d75603e
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x

- uses: actions/cache@v3
with:
Expand All @@ -30,11 +30,8 @@ jobs:
- name: Build
run: dotnet build --no-restore --configuration Release

- name: Upload release asset
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: |
bin/Release/net6.0/GenericStripper.exe
asset_name: GenericStripper.exe
tag: ${{ github.ref }}
- name: Zip
run: 7z a -tzip -mx=9 GenericStripper.zip GenericStripper/bin/Release/net7.0/

- name: Publish to Release
run: gh release upload ${{ github.ref }} GenericStripper.zip --clobber

0 comments on commit d75603e

Please sign in to comment.