Allow an action which groups other actions

It would be great if there was a way to group actions in order to reuse them in multiple workflows.

For example, let’s say I’ve got this extensive job in my e2e workflow. It looks the same in my deploy to production workflow, but with different parameters. I could create an action to group these actions, but right now it needs to be a JavaScript action or a docker action. There does not seem to be a way to create an action which simply groups some actions using parameters.

 deploy:
    nameDeploy to Acceptance    runs-onubuntu-latest
    steps:
    - usesactions/checkout@v1
    - usesazure/actions/login@v1
      nameAzure login
      with:
        creds${{ secrets.AZURE_CREDENTIALS_ACCEPTANCE }}
    - name‘Deploy Website’
      usesazure/webapps-container-deploy@v1
      with:
        app-name‘xxx’
        images‘xxx/xxx:${{ github.sha }}’
    - name‘Deploy lambda’
      usesAzure/functions-action@v1
      idfa
      with:
        app-name: xxx
        package: xxx    - name‘Verify deployment’
      run: echo ‘TODO: verify deployment’

21 Likes