Skip to content

Merge pull request #101 from mechanik-daniel/support-unknown-v2-fields #54

Merge pull request #101 from mechanik-daniel/support-unknown-v2-fields

Merge pull request #101 from mechanik-daniel/support-unknown-v2-fields #54

Workflow file for this run

name: Semantic version release and publish
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
on:
push:
branches: main
workflow_dispatch:
jobs:
semver:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
token: ${{ secrets.PAT }}
- id: semantic-release
name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
with:
semantic_version: 21.1.1
branches: main
dry_run: false
extra_plugins:
semantic-release-unsquash
"@semantic-release/git"
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Notify release
run: |
curl -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.PAT }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/Outburn-IL/fume-engine/actions/workflows/repo-sync.yml/dispatches \
-d '{"ref": "main"}'