Skip to content

Create release zips

Create release zips #5

Workflow file for this run

name: Create release zips
on:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Zip Folder
run: zip -r ${{ github.event.repository.name }}.zip default
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: default-hlstatsx-files-${{ GITHUB_REF }}.zip

Check failure on line 22 in .github/workflows/release-action.yml

View workflow run for this annotation

GitHub Actions / Create release zips

Invalid workflow file

The workflow is not valid. .github/workflows/release-action.yml (Line: 22, Col: 18): Unrecognized named-value: 'GITHUB_REF'. Located at position 1 within expression: GITHUB_REF

Check failure on line 22 in .github/workflows/release-action.yml

View workflow run for this annotation

GitHub Actions / Create release zips

Invalid workflow file

The workflow is not valid. .github/workflows/release-action.yml (Line: 22, Col: 18): Unrecognized named-value: 'GITHUB_REF'. Located at position 1 within expression: GITHUB_REF
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}