Chore: Upgrade to version 1.0.3
#8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Archive | |
on: | |
push: | |
tags: [ "v*.*.*" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Get version name | |
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | |
- name: Archive Release | |
uses: thedoctor0/[email protected] | |
with: | |
type: 'zip' | |
filename: 'nba-${{ env.RELEASE_VERSION }}.zip' | |
exclusions: '*screenshots* ./.gitignore *.git* *.github*' | |
- name: Upload Release | |
uses: ncipollo/[email protected] | |
with: | |
artifacts: "nba-${{ env.RELEASE_VERSION }}.zip" | |
token: ${{ secrets.RELEASE_TOKEN }} | |
allowUpdates: true |