Skip to content

Create release zips #10

Create release zips

Create release zips #10

Workflow file for this run

name: Create release zips
on:
release:
types: [created,edited]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Zip Folder
run: zip -r default-hlstatsx-files-${{github.ref_name}}.zip default
- name: Zip Folder2
run: zip -r hlstatsx-windmill-theme-${{github.ref_name}}.zip web
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: default-hlstatsx-files-${{github.ref_name}}.zip,hlstatsx-windmill-theme-${{github.ref_name}}.zip
env:
GITHUB_TOKEN: ${{ secrets.PAT }}