Skip to content

build: update create-release.yml #130

build: update create-release.yml

build: update create-release.yml #130

Workflow file for this run

# This is a basic workflow that is manually triggered
name: Create Release
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on: [push]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
create_release:
# The type of runner that the job will run on
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
RELEASE: ${{ github.ref_name//v }}

Check failure on line 16 in .github/workflows/create-release.yml

View workflow run for this annotation

GitHub Actions / Create Release

Invalid workflow file

The workflow is not valid. .github/workflows/create-release.yml (Line: 16, Col: 16): Unexpected symbol: 'ref_name//v'. Located at position 8 within expression: github.ref_name//v
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout
uses: actions/checkout@v3.3.0
with:
ref: gh-pages
- name: Zip Release
uses: TheDoctor0/zip-release@0.7.0
with:
filename: ui-grid-${{ env.RELEASE }}.zip
path: ./release/${{ env.RELEASE }}/*
- name: Publish Release
run: gh release create v${{ env.RELEASE }} ./ui-grid-${{ env.RELEASE }}.zip