Skip to content

Update actions/upload-artifact digest to 5076954 (#219) #237

Update actions/upload-artifact digest to 5076954 (#219)

Update actions/upload-artifact digest to 5076954 (#219) #237

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: 20
- name: Check package version
id: check
uses: 'EndBug/version-check@d4be4219408b50d1bbbfd350a47cbcb126878692' # v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
diff-search: true
- name: Create release
uses: 'ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5' # v1
if: ${{ steps.check.outputs.changed == 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: v${{ steps.check.outputs.version}}
name: v${{ steps.check.outputs.version}}