We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f109b1 commit 78f43d6Copy full SHA for 78f43d6
action.yml
@@ -15,16 +15,10 @@ runs:
15
using: "composite"
16
steps:
17
- name: Package for Google Cloud Functions
18
- if: inputs.faas-provider == 'gcloud'
19
working-directory: ${{ inputs.working-directory }}
20
- run: ${GITHUB_ACTION_PATH}/package-gcloud.sh
21
- shell: bash
22
- env:
23
- DEPLOYMENT_DIR: deployment
24
- - name: Package for Azure Functions
25
- if: inputs.faas-provider == 'azure'
26
- working-directory: ${{ inputs.working-directory }}
27
- run: ${GITHUB_ACTION_PATH}/package-azure.sh
+ run: "${GITHUB_ACTION_PATH}/package-${FAAS_PROVIDER}.sh"
28
shell: bash
29
env:
30
APP_NAME: ${{ inputs.function-name }}
+ DEPLOYMENT_DIR: deployment
+ FAAS_PROVIDER: ${{ inputs.faas-provider }}
0 commit comments