Version bump to 2024100801 (#71) #37
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 new release | |
on: | |
push: | |
tags: | |
- '20[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]' | |
jobs: | |
build: | |
name: Create release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 19 | |
registry-url: https://registry.npmjs.org | |
- name: Install dependencies | |
run: npm install | |
- name: Get package version | |
id: get_version | |
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | |
- name: Create artifact | |
run: zip -r ${{ steps.get_version.outputs.VERSION }}.zip . -x '.github**' -x '.git**' -x '.gitignore' -x '.gitattributes' | |
- name: Create release | |
id: create_release | |
uses: softprops/action-gh-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
files: ${{ steps.get_version.outputs.VERSION }}.zip | |
tag_name: ${{ steps.get_version.outputs.VERSION }} | |
name: ${{ steps.get_version.outputs.VERSION }} | |
draft: false | |
prerelease: false |