text improvements #9
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Postman | |
| on: | |
| push: | |
| tags: | |
| - "postman-v*.*" | |
| env: | |
| POSTMAN_API_KEY: ${{ secrets.POSTMAN_API_KEY }} | |
| jobs: | |
| postman: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install openapi-to-postmanv2 (v4) + postman-combine-collections | |
| run: npm i -g openapi-to-postmanv2@4 postman-combine-collections | |
| - name: Set COLLECTON_NAME variable | |
| run: | | |
| 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 | |
| uses: actions/upload-artifact@v4 | |
| # Always upload artifacts, even on failed runs | |
| if: always() | |
| with: | |
| name: postman-collections | |
| path: postman/ | |
| retention-days: 7 |