Skip to content

Merge pull request #300 from microsoftgraph/main #14

Merge pull request #300 from microsoftgraph/main

Merge pull request #300 from microsoftgraph/main #14

Workflow file for this run

name: Publish release
on:
push:
branches: [ release ]
workflow_dispatch:
permissions: {}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Bump version and push tag
id: version
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: patch
RELEASE_BRANCHES: release
- name: Create release
uses: ncipollo/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: ${{ steps.version.outputs.new_tag }}
name: 'Release ${{ steps.version.outputs.new_tag }}'