Skip to content

snap: revert to version 2.44.2 (#4) #5

snap: revert to version 2.44.2 (#4)

snap: revert to version 2.44.2 (#4) #5

name: Release webkitgtk-6-gnome-2204-sdk to candidate
on:
# Run the workflow each time new commits are pushed to the candidate branch.
push:
branches: ["2204"]
paths:
- "webkitgtk-6-gnome-2204-sdk/**"
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
with:
snapcraft-project-root: "webkitgtk-6-gnome-2204-sdk"
release-sdk:
name: 🚒 Release to latest/candidate
needs: get-architectures
runs-on: ubuntu-latest
environment: "2204 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 }}
multi-snap: true
snapcraft-project-root: "webkitgtk-6-gnome-2204-sdk"
store-token: ${{ secrets.SNAP_STORE_CANDIDATE }}
repo-token: ${{ secrets.SNAPCRAFTERS_BOT_COMMIT }}
call-for-testing:
name: πŸ“£ Create call for testing
needs: [release-sdk, get-architectures]
environment: "2204 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:
snapcraft-project-root: "webkitgtk-6-gnome-2204-sdk"
architectures: ${{ needs.get-architectures.outputs.architectures }}
github-token: ${{ secrets.GITHUB_TOKEN }}