Skip to content

Add Release GitHub Action (#404) #2

Add Release GitHub Action (#404)

Add Release GitHub Action (#404) #2

Workflow file for this run

name: Create Release on Tag
on:
push:
tags:
- '*'
jobs:
create_release:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
with:
files: |
!(example_data)/** # Exclude 'example_data' folder
!.gitignore
!.prettier*
!.eslint*
!.npmrc
token: ${{ secrets.GITHUB_TOKEN }}
- name: Get Release URL
run: echo "Release URL: ${{ steps.create_release.outputs.upload_url }}"

Check failure on line 28 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 28