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: