From 113bafb702e27f2def1745ef6bf9241b5082e2f2 Mon Sep 17 00:00:00 2001 From: FlyingCat-X Date: Fri, 24 Feb 2023 20:06:18 -0500 Subject: [PATCH] [CI] Fix not adding amxmodx dlls and modules correctly --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e13ecf7..1ed28d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: | @@ -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: