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.

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