1
0
mirror of https://github.com/XFox111/PasswordGeneratorExtension.git synced 2026-04-22 08:08:01 +03:00
Files
PasswordGeneratorExtension/.github/workflows/pr_next.yaml
T
2023-11-12 15:59:07 +03:00

31 lines
709 B
YAML

name: PR next workflow
on:
push:
branches: [ master ]
paths:
- 'package.json'
permissions:
contents: write
jobs:
create-release-draft:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Get version from package.json
id: get_manifest
run: |
content=`cat ./package.json`
echo "::set-output name=manifest::${content}"
- uses: dev-build-deploy/release-me@v0.14.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
prefix: v
draft: true
version: ${{ fromJson(steps.get_manifest.outputs.manifest).version }}
release-notes: .github/release_description_template.md