Bump version to 1.23.0 #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 | |
on: | |
# Run the workflow each time new commits are pushed to the candidate branch. | |
push: | |
branches: [ "candidate" ] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
issues: write | |
jobs: | |
get-architectures: | |
name: π₯ Get snap architectures | |
runs-on: ubuntu-latest | |
outputs: | |
architectures: ${{ steps.get-architectures.outputs.architectures }} | |
architectures-list: ${{ steps.get-architectures.outputs.architectures-list }} | |
steps: | |
- name: π₯ Get snap architectures | |
id: get-architectures | |
uses: snapcrafters/ci/get-architectures@main | |
release: | |
name: π’ Release to latest/candidate | |
needs: get-architectures | |
runs-on: ubuntu-latest | |
environment: "Candidate Branch" | |
strategy: | |
matrix: | |
architecture: ${{ fromJSON(needs.get-architectures.outputs.architectures-list) }} | |
steps: | |
- name: π’ Release to latest/candidate | |
uses: snapcrafters/ci/release-to-candidate@main | |
with: | |
architecture: ${{ matrix.architecture }} | |
launchpad-token: ${{ secrets.LP_BUILD_SECRET }} | |
repo-token: ${{ secrets.SNAPCRAFTERS_BOT_COMMIT }} | |
store-token: ${{ secrets.SNAP_STORE_CANDIDATE }} | |
call-for-testing: | |
name: π£ Create call for testing | |
needs: [release, get-architectures] | |
environment: "Candidate Branch" | |
runs-on: ubuntu-latest | |
outputs: | |
issue-number: ${{ steps.issue.outputs.issue-number }} | |
steps: | |
- name: π£ Create call for testing | |
id: issue | |
uses: snapcrafters/ci/call-for-testing@main | |
with: | |
architectures: ${{ needs.get-architectures.outputs.architectures }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
screenshots: | |
name: πΈ Gather screenshots | |
needs: call-for-testing | |
environment: "Candidate Branch" | |
runs-on: ubuntu-latest | |
steps: | |
- name: πΈ Gather screenshots | |
uses: snapcrafters/ci/get-screenshots@main | |
with: | |
issue-number: ${{ needs.call-for-testing.outputs.issue-number }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
screenshots-token: ${{ secrets.SNAPCRAFTERS_BOT_COMMIT }} |