Last active
January 31, 2022 19:31
-
-
Save joshjohanning/bacf4db530be5d475ccdd7c3ebf726e7 to your computer and use it in GitHub Desktop.
Workflow dispatch inputs and defaults with other on: trigger events
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
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| inputs: | |
| build_run_id_to_deploy: | |
| description: 'the build run id to download for deploy' | |
| required: true | |
| default: '1703586018' | |
| env: | |
| build_run_id_to_deploy: '1703586018' | |
| ... | |
| - name: download workflow artifact | |
| uses: benday-inc/download-artifact@main | |
| with: | |
| run_id: ${{ github.event.inputs.build_run_id_to_deploy == '' && env.build_run_id_to_deploy || github.event.inputs.build_run_id_to_deploy }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment