Skip to content

Commit

Permalink
Try using hard-coded 7-zip path.
Browse files Browse the repository at this point in the history
The action being used previously is only available on Linux runners. According to actions/runner-images#905, the 7-zip binary should be present at this path on Windows builds.
  • Loading branch information
focustense committed Aug 26, 2021
1 parent fd0bbc3 commit f4a8481
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ jobs:
Configuration: ${{ matrix.configuration }}

- name: Package
uses: edgarrc/action-7z@v1.0.5
with:
args: 7z a -t7z -mx=9 ../out/EasyNPC-${{ steps.version.outputs.version }}.7z ../out/EasyNPC-${{ steps.version.outputs.version }}
run: >
"C:\Program Files\7-Zip\7z.exe" a -t7z -mx=9
../out/EasyNPC-${{ steps.version.outputs.version }}.7z
../out/EasyNPC-${{ steps.version.outputs.version }}
- name: Create release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit f4a8481

Please sign in to comment.