Working on github action #16
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
# Build, run tests and create a new release | ||
name: release | ||
# Controls when the action will run. Triggers the workflow on push with a release tag | ||
on: | ||
push: | ||
tags: | ||
#- "v[0-9]+.[0-9]+.[0-9]+" | ||
- "test[0-9]+.[0-9]+.[0-9]+" | ||
:w | ||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# Reuse the workflow to build and test the library | ||
#build-and-test: | ||
# uses: ./.github/workflows/build-and-test.yml | ||
# Create a new release | ||
create-release: | ||
name: create-release | ||
runs-on: ubuntu-latest | ||
#needs: [build-and-test] | ||
steps: | ||
- name: Create Release | ||
uses: docker://antonyurchenko/git-release:v6 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DRAFT_RELEASE: "true" | ||
PRE_RELEASE: "false" | ||
CHANGELOG_FILE: "CHANGELOG.md" | ||
ALLOW_EMPTY_CHANGELOG: "false" | ||
ALLOW_TAG_PREFIX: "true" | ||