Skip to content

v0.1.63 Pre-release Beta #20

v0.1.63 Pre-release Beta

v0.1.63 Pre-release Beta #20

Workflow file for this run

name: Create release zips
on:
release:
types: [published]
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@v2
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 }}
- name: Get changed files in the .github folder
id: changed-files-specific
uses: tj-actions/changed-files@v45
with:
files: web/**
env:
ALL_CHANGED_FILES: ${{ steps.changed-files-specific.outputs.all_changed_files }}
- name: Upload
uses: djn24/add-comment-to-release@v1
with:
token: ${{secrets.GITHUB_TOKEN}}
comment: |-
<details>
<summary>Changed files since last release</summary>
<p>
${{ steps.changed-files-specific.outputs.all_changed_files }}
</p>
</details>