Create Github Release for OpenAPI Spec #4
This file contains hidden or 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: Create Github Release for OpenAPI Spec | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| create-github-release: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Node environment | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install semantic-release dependencies | |
| run: npm ci | |
| working-directory: ${{ github.workspace }}/.github/semantic-release | |
| - name: Perform release | |
| run: npx semantic-release | |
| working-directory: ${{ github.workspace }}/.github/semantic-release | |
| env: | |
| GH_TOKEN: ${{ github.token }} |