Skip to content

Commit

Permalink
Release workflow (#10)
Browse files Browse the repository at this point in the history
* Add release workflow.

* Update Directory.Build.props

* v1.0.0

* Update create-release-and-upload-asset.yml
  • Loading branch information
MareMare authored Jul 21, 2022
1 parent 1865aa6 commit 494840d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/create-release-and-upload-asset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,18 @@ jobs:
run: dotnet build --configuration Release --no-restore

- name: 🚀 Publish DummyFileCreator.App
working-directory: src
run: dotnet publish --configuration Release -p:PublishProfile=FolderProfile .\DummyFileCreator.App\DummyFileCreator.App.csproj
run: dotnet publish --configuration Release -p:PublishProfile=FolderProfile .\src\DummyFileCreator.App\DummyFileCreator.App.csproj
- name: Archive
shell: pwsh
run: |
Compress-Archive -Path ".\DummyFileCreator.App\bin\publish\DummyFileCreator.App.exe" -DestinationPath ".\DummyFileCreator.App.zip"
Compress-Archive -Path ".\src\DummyFileCreator.App\bin\publish\DummyFileCreator.App.exe" -DestinationPath ".\DummyFileCreator.App.zip"
- name: 🚀 Publish DummyFileCreator.Console
working-directory: src
run: dotnet publish --configuration Release -p:PublishProfile=FolderProfile .\DummyFileCreator.Console\DummyFileCreator.Console.csproj
run: dotnet publish --configuration Release -p:PublishProfile=FolderProfile .\src\DummyFileCreator.Console\DummyFileCreator.Console.csproj
- name: Archive
shell: pwsh
run: |
Compress-Archive -Path ".\DummyFileCreator.Console\bin\publish\DummyFileCreator.Console.exe" -DestinationPath ".\DummyFileCreator.Console.zip"
Compress-Archive -Path ".\src\DummyFileCreator.Console\bin\publish\DummyFileCreator.Console.exe" -DestinationPath ".\DummyFileCreator.Console.zip"
- name: 📝 Create Release
id: create_release
Expand Down

0 comments on commit 494840d

Please sign in to comment.