Skip to content

Commit

Permalink
Update release action
Browse files Browse the repository at this point in the history
  • Loading branch information
B3none authored Sep 1, 2024
1 parent a1c8851 commit 60785be
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/plugin-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 60785be

Please sign in to comment.