Skip to content

Commit

Permalink
[CI] Fix not adding amxmodx dlls and modules correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
7mochi committed Feb 25, 2023
1 parent 4890504 commit 113bafb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ jobs:
# Remove useless path from the hashfile
sed -e "s,${PWD}/dist-linux/ag/,,g; s,${PWD}/dist/ag/,,g; s,addons/amxmodx/plugins/,,g" -i hashfile.sha1
- name: Prepare releases in zip
run: |
cd dist-linux && zip -r ../llhl-${{github.ref_name}}-linux.zip * && cd $GITHUB_WORKSPACE
cd dist && zip -r ../llhl-${{github.ref_name}}-windows.zip * && cd $GITHUB_WORKSPACE
- name: Replace llhl.amxx on windows with the one from linux
run: |
Expand All @@ -94,6 +89,11 @@ jobs:
tar -xzf amxx-linux.tar.gz -C dist-linux/ag
unzip amxx-windows.zip -d dist/ag
- name: Prepare releases in zip
run: |
cd dist-linux && zip -r ../llhl-${{github.ref_name}}-linux.zip * && cd $GITHUB_WORKSPACE
cd dist && zip -r ../llhl-${{github.ref_name}}-windows.zip * && cd $GITHUB_WORKSPACE
- name: Upload all assets (Release)
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit 113bafb

Please sign in to comment.