Skip to content

Commit

Permalink
next try postman workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
christophdb committed Sep 12, 2024
1 parent 217c613 commit 1779dca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/postman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Postman
on:
push:
tags:
- 'postman-v*.*'
- "postman-v*.*"

env:
POSTMAN_API_KEY: ${{ secrets.POSTMAN_API_KEY }}
Expand All @@ -21,6 +21,8 @@ jobs:
TAG="${{ github.ref_name }}"
COLLECTION_NAME="SeaTable ${TAG#postman-}"
echo "COLLECTION_NAME=${COLLECTION_NAME}" >> $GITHUB_ENV
- name: Install jq
run: sudo apt-get update && sudo apt-get install -y jq
- name: Sync with Postman
run: ./sync-with-postman.sh
- name: Upload artifacts
Expand Down
1 change: 0 additions & 1 deletion sync-with-postman.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ if [[ -z "${COLLECTION_NAME-}" ]]; then
fi

mkdir -p postman
apt-get install jq

# Convert spec files to Postman collections
for filename in *.yaml; do
Expand Down

0 comments on commit 1779dca

Please sign in to comment.