Skip to content

Commit

Permalink
Investigate
Browse files Browse the repository at this point in the history
  • Loading branch information
dvacca-onfido committed Sep 4, 2024
1 parent b43e14d commit 6d2de80
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/update-specs-and-client-libraries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: artifacts-${{ github.workflow }}-${{ github.run_id }}-${{ github.run_number }}
include-hidden-files: true
path: |
shell/sync-lib.sh
generated/artifacts
Expand Down Expand Up @@ -258,6 +259,8 @@ jobs:
mv $TMP_FILE $RELEASE_FILE
npx prettier --write *.md
cat .openapi-generator/VERSION .npmignore
# - name: Create Pull Request with changes after library update
# uses: peter-evans/create-pull-request@v6
# if: ${{ matrix.update }}
Expand Down
1 change: 1 addition & 0 deletions shell/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,4 @@ do
done
${OPENAPI_GENERATOR_COMMAND} batch --clean ${GENERATED_CONFIG_FILES}
2 changes: 2 additions & 0 deletions shell/sync-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ else
SED_OPTS="-i"
fi


cat ${ONFIDO_OPENAPI_SPEC_FOLDER}/generated/artifacts/${generator_name}/.openapi-generator/VERSION ${ONFIDO_OPENAPI_SPEC_FOLDER}/generated/artifacts/${generator_name}/.npmignore
# Sync library contents
rsync -r --exclude='/.git*' --exclude='/CHANGELOG*' --exclude='/.release.json' \
--exclude='/.openapi-generator-ignore' --exclude='/.openapi-generator/FILES' \
Expand Down

0 comments on commit 6d2de80

Please sign in to comment.