Bump next from 12.1.4 to 15.5.14 in /docs #165
Workflow file for this run
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: Publish Release | |
| on: | |
| pull_request: | |
| types: [closed] | |
| permissions: | |
| contents: write | |
| pull-requests: read | |
| jobs: | |
| publish_release: | |
| if: ${{ github.base_ref == 'main' && startsWith(github.head_ref, 'release-') && github.event.pull_request.merged == true }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: nalchevanidze/hwm/actions/cli@main | |
| - name: Publish | |
| run: hwm release publish main | |
| env: | |
| HACKAGE_AUTH_TOKEN: ${{ secrets.HACKAGE_AUTH_TOKEN }} | |
| - name: Publish GitHub Release (from merged release PR) | |
| uses: nalchevanidze/relasy/actions/publish-release@v1.1.1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| upload_artifact: | |
| needs: publish_release | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| target: linux | |
| - os: macos-latest | |
| target: mac-os | |
| - os: windows-latest | |
| target: windows | |
| name: Upload Artifact ${{ matrix.target }} | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: main | |
| fetch-depth: 0 | |
| - uses: ./.github/actions/setup | |
| - name: Upload Artifacts | |
| run: hwm release artifacts --github | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |