Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
- Release-[Version].zip renamed to CoordinateConverter-Manual-[Version].zip
  • Loading branch information
FalcoGer authored Jan 19, 2024
1 parent c0c6580 commit edd7e73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,22 +84,22 @@ jobs:

# Rename the Artifact
- name: Rename Release.zip
run: mv ${{env.Project_Directory}}\bin\${{matrix.configuration}}\Release.zip ${{env.Project_Directory}}\bin\${{matrix.configuration}}\Release-${{env.Major}}-${{env.Minor}}-${{env.Patch}}.zip
run: mv ${{env.Project_Directory}}\bin\${{matrix.configuration}}\Release.zip ${{env.Project_Directory}}\bin\${{matrix.configuration}}\CoordinateConverter-Manual-${{env.Major}}-${{env.Minor}}-${{env.Patch}}.zip

# Upload the Artifact: https://github.com/marketplace/actions/upload-a-build-artifact
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: ZIP
path: ${{env.Project_Directory}}\bin\${{matrix.configuration}}\Release-${{env.Major}}-${{env.Minor}}-${{env.Patch}}.zip
path: ${{env.Project_Directory}}\bin\${{matrix.configuration}}\CoordinateConverter-Manual-${{env.Major}}-${{env.Minor}}-${{env.Patch}}.zip

# create/update release with the artifact
# https://github.com/ncipollo/release-action/blob/main/README.md
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifactErrorsFailBuild: true
artifacts: ${{env.Project_Directory}}\bin\${{matrix.configuration}}\Release-${{env.Major}}-${{env.Minor}}-${{env.Patch}}.zip
artifacts: ${{env.Project_Directory}}\bin\${{matrix.configuration}}\CoordinateConverter-Manual-${{env.Major}}-${{env.Minor}}-${{env.Patch}}.zip
name: "$env:Major.$env:Minor.$env:Patch"
body: "Automatically generated"
omitBodyDuringUpdate: true
Expand Down

0 comments on commit edd7e73

Please sign in to comment.