chore: bump ffmpeg-2404-sdk dependencies #23
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 ffmpeg-2404-sdk to candidate | |
on: | |
# Run the workflow each time new commits are pushed to the candidate branch. | |
push: | |
branches: ["2404"] | |
paths: | |
- "ffmpeg-2404-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: "ffmpeg-2404-sdk" | |
release-sdk: | |
name: π’ Release to latest/candidate | |
needs: get-architectures | |
runs-on: ubuntu-latest | |
environment: "2404 Branch" | |
strategy: | |
fail-fast: false | |
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: "ffmpeg-2404-sdk" | |
snapcraft-channel: "latest/candidate" | |
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: "2404 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: "ffmpeg-2404-sdk" | |
architectures: ${{ needs.get-architectures.outputs.architectures }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
testing-instructions: | | |
1. Grab the manifest of a snap that uses ffmpeg, for eg: [Tagger](https://github.com/NickvisionApps/tagger-snap/blob/main/snap/snapcraft.yaml) | |
1. Update the manifest to use ffmpeg-2404-sdk from candidate channel | |
like this, https://github.com/NickvisionApps/tagger-snap/blob/main/snap/snapcraft.yaml#L21 | |
1. Build the snap and see if it builds perfectly |