Skip to content

Merge pull request #11 from connected-hil/fix/actions-release #10

Merge pull request #11 from connected-hil/fix/actions-release

Merge pull request #11 from connected-hil/fix/actions-release #10

Workflow file for this run

name: TAG
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
release:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ secrets.TOKEN }}
tag: ${{ github.ref_name }}
writeToFile: false
- name: Create Release
uses: ncipollo/release-action@v1.12.0
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
allowUpdates: true
draft: false
makeLatest: true
name: ${{ github.ref_name }}
body: ${{ steps.changelog.outputs.changes }}
token: ${{ secrets.TOKEN }}