Skip to content

Commit

Permalink
Fix insides of release zip
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed May 22, 2022
1 parent b7ffa0f commit 72059a6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/windows_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ jobs:

- name: Zip project # This would actually build your project, using zip for an example artifact
run: |
7z a -r Cmangos_Designer.7z ${{ env.Solution_Name }}/bin/${{ env.Configuration }}/publish/*
cd ${{ env.Solution_Name }}/bin/${{ env.Configuration }}/publish
7z a -r Cmangos_Designer.7z *
env:
Configuration: ${{ matrix.configuration }}

Expand All @@ -74,8 +75,9 @@ jobs:
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Configuration: ${{ matrix.configuration }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./Cmangos_Designer.7z
asset_path: ./${{ env.Solution_Name }}/bin/${{ env.Configuration }}/publish/Cmangos_Designer.7z
asset_name: Cmangos_Designer.7z
asset_content_type: application/zip

0 comments on commit 72059a6

Please sign in to comment.