Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
updated yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Pickering committed Nov 18, 2021
1 parent 7b5e1ec commit 0273d92
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,22 @@ on:
jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"
runs-on: ubuntu-latest

steps:
- name: Get the tag name
run: echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV

- name: "Check out the repo"
uses: "actions/checkout@v2"

- name: "Build & test"
run: npm build
run: |
npm build
tar -czvf ${{ env.TAG }}_build.tar.gz .
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: "*"
files: "${{ env.TAG }}_build.tar.gz"

0 comments on commit 0273d92

Please sign in to comment.