Skip to content

Commit

Permalink
Add template dir
Browse files Browse the repository at this point in the history
  • Loading branch information
dvacca-onfido committed Feb 27, 2024
1 parent 623e6dd commit 57d92fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/client-libraries-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
generator: ["typescript-axios"]
outputs:
git_repo_id: ${{ steps.extract_data.outputs.git_repo_id }}
git_repo_id: ${{ steps.extract_data.outputs.gitRepoId }}
container:
image: openapitools/openapi-generator-cli:v7.3.0
env:
Expand All @@ -36,14 +36,14 @@ jobs:
- name: Extract target repository name
id: extract_data
run: |
grep gitRepoId generated/configuration/typescript-axios.yaml | sed 's/: /=' >> $GITHUB_OUTPUT
grep gitRepoId generated/configuration/typescript-axios.yaml | sed 's/: /=/' >> $GITHUB_OUTPUT
- name: Store generated artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts-${{ github.workflow }}-${{ github.run_id }}-${{ github.run_number }}-${{ matrix.generator }}
path: generated/artifacts/${{ matrix.generator }}
create_pr:
name: Commit and create pull requests
name: Commit and create pull request to {{ needs.build_client_libraries.outputs.git_repo_id }} repository
runs-on: ubuntu-latest
needs: build_client_libraries
strategy:
Expand All @@ -52,6 +52,10 @@ jobs:
- typescript-axios
# if: github.event_name == 'push'
steps:
- name: Dump matrix context
env:
NEEDS_CONTEXT: ${{ toJson(needs) }}
run: echo "$NEEDS_CONTEXT"
- uses: actions/checkout@v4
with:
# token: ${{ secrets.GITHUB_ACTION_ACCESS_TOKEN }}
Expand Down

0 comments on commit 57d92fb

Please sign in to comment.