Release Process #174
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: Release Process | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| mode: | |
| description: What type of release | |
| required: true | |
| default: rc | |
| type: choice | |
| options: | |
| - rc | |
| - final | |
| concurrency: ${{ github.workflow }} | |
| permissions: {} | |
| jobs: | |
| release: | |
| uses: matrix-org/matrix-js-sdk/.github/workflows/release-make.yml@develop # zizmor: ignore[unpinned-uses] | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: read | |
| id-token: write | |
| secrets: | |
| ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} | |
| GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | |
| GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | |
| with: | |
| final: ${{ inputs.mode == 'final' }} | |
| gpg-fingerprint: ${{ vars.GPG_FINGERPRINT }} | |
| asset-path: dist/*.tar.gz | |
| expected-asset-count: 3 | |
| # Desktop has no dist script so we only target web here | |
| dist-dir: apps/web | |
| version-dirs: apps/web apps/desktop | |
| check: | |
| name: Post release checks | |
| needs: release | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| checks: read | |
| steps: | |
| - name: Wait for docker build | |
| uses: t3chguy/wait-on-check-action@18541021811b56544d90e0f073401c2b99e249d6 # fork | |
| with: | |
| ref: master | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| wait-interval: 10 | |
| check-name: "Docker Buildx" | |
| allowed-conclusions: success | |
| - name: Wait for debian package | |
| uses: t3chguy/wait-on-check-action@18541021811b56544d90e0f073401c2b99e249d6 # fork | |
| with: | |
| ref: master | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| wait-interval: 10 | |
| check-name: Build package | |
| allowed-conclusions: success | |
| - name: Wait for desktop packaging | |
| uses: t3chguy/wait-on-check-action@18541021811b56544d90e0f073401c2b99e249d6 # fork | |
| with: | |
| ref: master | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| wait-interval: 10 | |
| check-regexp: Prepare|Linux|macOS|Windows|Deploy|deploy | |
| allowed-conclusions: success |