Skip to content

Fix: GHA release-zip.yml #6

Fix: GHA release-zip.yml

Fix: GHA release-zip.yml #6

Workflow file for this run

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