Skip to content

Commit

Permalink
Add Release GitHub Action (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvire authored Oct 24, 2023
1 parent 664ab5d commit f25963e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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 }}"

0 comments on commit f25963e

Please sign in to comment.