diff --git a/.github/workflows/plugin-build.yml b/.github/workflows/plugin-build.yml index 7ae90c3..2106f0d 100644 --- a/.github/workflows/plugin-build.yml +++ b/.github/workflows/plugin-build.yml @@ -57,25 +57,25 @@ jobs: permissions: write-all runs-on: ubuntu-latest if: github.event_name == 'release' - + steps: - name: Download build artifact uses: actions/download-artifact@v4 with: name: RetakesPlugin-${{ github.sha }} - + - name: Create release assets run: | - zip -r RetakesPlugin.zip ./RetakesPlugin + zip -r cs2-retakes-${{ github.event.release.tag_name }}.zip ./RetakesPlugin rm -rf ./RetakesPlugin/map_config - zip -r RetakesPlugin-no-map-configs.zip ./RetakesPlugin - + zip -r cs2-retakes-${{ github.event.release.tag_name }}-no-map-configs.zip ./RetakesPlugin + - name: Upload release assets uses: softprops/action-gh-release@v2 with: files: | - ./RetakesPlugin.zip - ./RetakesPlugin-no-map-configs.zip + ./cs2-retakes-${{ github.event.release.tag_name }}.zip + ./cs2-retakes-${{ github.event.release.tag_name }}-no-map-configs.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}