Skip to content

Manual trigger

Manual trigger #13

Workflow file for this run

name: Manual trigger
on: workflow_dispatch
jobs:
getsha:
runs-on: ubuntu-latest
outputs:
shortsha: ${{ steps.short-sha.outputs.sha }}
steps:
- uses: benjlevesque/[email protected]
id: short-sha
with:
length: 6
- run: echo $SHA
env:
SHA: ${{ steps.short-sha.outputs.sha }}
build-core:
uses: ./.github/workflows/core.yml
secrets: inherit
build-projects:
needs: [build-core, getsha]
strategy:
matrix:
project: [francetransfert-download-api]
uses: ./.github/workflows/generic-build.yml
secrets: inherit
with:
project: ${{ matrix.project }}
tag: ${{needs.getsha.outputs.shortsha}}