Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
erri120 committed Oct 15, 2022
1 parent 24e95c9 commit b26bdde
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
- name: Build
run: dotnet build --no-restore -p:Version="${{ steps.tag_name.outputs.current_version }}"

- name: Publish Example Project
run: dotnet publish GameFinder.Example/GameFinder.Example.csproj --no-restore -o "out" -p:PublishSingleFile=true -p:PublishTrimmed=true -c Release -f net6.0 -r win-x64

- name: Zip Example Project
run: |
cd out/
7z a -tzip GameFinder.Example.zip *.exe *.dll *.pdb *.xml
# - name: Publish Example Project
# run: dotnet publish GameFinder.Example/GameFinder.Example.csproj --no-restore -o "out" -p:PublishSingleFile=true -p:PublishTrimmed=true -c Release -f net6.0 -r win-x64
#
# - name: Zip Example Project
# run: |
# cd out/
# 7z a -tzip GameFinder.Example.zip *.exe *.dll *.pdb *.xml

- name: Get Changelog Entry
id: changelog_reader
Expand Down Expand Up @@ -77,4 +77,4 @@ jobs:
files: |
**/*.nupkg
**/*.snupkg
out/GameFinder.Example.zip
# out/GameFinder.Example.zip

0 comments on commit b26bdde

Please sign in to comment.