Skip to content

v13

v13 #13

Workflow file for this run

name: Create Release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# https://stackoverflow.com/a/58178121
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Archive Release
uses: thedoctor0/[email protected]
with:
type: zip
filename: "[email protected]${{ env.RELEASE_VERSION }}.zip"
exclusions: '*.git* /*node_modules/* .editorconfig CONTRIBUTING.md package-lock.json package.json'
- name: Upload Release
uses: ncipollo/release-action@v1
with:
artifacts: "[email protected]${{ env.RELEASE_VERSION }}.zip"
token: ${{ secrets.GITHUB_TOKEN }}