Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

Commit

Permalink
Update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
sawich committed Feb 1, 2023
1 parent 2e47784 commit 4865438
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@main
- name: Setup .NET
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@main
with:
dotnet-version: 6.0.x
dotnet-version: 7.x.x

- name: Restore dependencies
run: dotnet restore
Expand All @@ -30,10 +30,10 @@ jobs:
run: echo "::set-output name=release_tag::SoulWorker_PasswordExtractor_$(date +"%Y.%m.%d_%H-%M")"

- name: Zip
run: tar -cvf ${{ steps.tag.outputs.release_tag }}.zip -C SoulWorker.PasswordExtractor.Cli/bin/Release/net6.0/publish/ *
run: tar -cvf ${{ steps.tag.outputs.release_tag }}.zip -C SoulWorker.PasswordExtractor.Cli/bin/Release/net7.0/publish/ *

- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@main
with:
tag_name: ${{ steps.tag.outputs.release_tag }}
files: ${{ steps.tag.outputs.release_tag }}.zip
Expand Down

0 comments on commit 4865438

Please sign in to comment.