Release Major #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Release Major | |
on: [workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.OAPICF_GITHUB_TOKEN }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: git config --global user.email "[email protected]" | |
- run: git config --global user.name "pakkunbot" | |
- run: npm install -g rtk | |
- run: rtk release --release-increment-type major | |
- uses: ad-m/[email protected] | |
with: | |
tags: true | |
github_token: ${{ secrets.OAPICF_GITHUB_TOKEN }} | |
branch: ${{ github.ref }} |