Skip to content

Bump @actions/core from 1.6.0 to 1.9.1 (#33) #70

Bump @actions/core from 1.6.0 to 1.9.1 (#33)

Bump @actions/core from 1.6.0 to 1.9.1 (#33) #70

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Check package version
id: check
uses: 'EndBug/version-check@v1'
with:
token: ${{ secrets.GITHUB_TOKEN }}
diff-search: true
# - name: Generate changelog
# id: changelog
# uses: 'mikepenz/release-changelog-builder-action@v2'
# if: ${{ steps.check.outputs.changed == 'true' }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# continue-on-error: true
- name: Create release
uses: 'zendesk/action-create-release@v1'
if: ${{ steps.check.outputs.changed == 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.check.outputs.version}}
# body: ${{ steps.changelog.outputs.changelog }}
release_name: v${{ steps.check.outputs.version}}
draft: false
prerelease: false