fix: update form data (#10) #29
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: Publish HttpSnippet Package | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - "package.json" | |
| - "**.md" | |
| env: | |
| NODE_VERSION: 16 | |
| jobs: | |
| publish-package: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v3 | |
| with: | |
| token: ${{ secrets.ACTIONS_ACCESS_KEY }} | |
| fetch-depth: 0 | |
| - name: Install Node.JS | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: 'yarn' | |
| registry-url: "https://npm.pkg.github.com" | |
| scope: "@rapidapi" | |
| - name: Install root dependencies | |
| run: yarn --no-progress --non-interactive --frozen-lockfile | |
| - name: Checkout GitHub Actions | |
| uses: actions/checkout@v3 | |
| with: | |
| repository: RapidAPI/rapidapi-github-actions | |
| ref: master | |
| token: ${{ secrets.ACTIONS_ACCESS_KEY }} | |
| path: .github/actions | |
| - name: Create GitHub Release | |
| uses: ./.github/actions/create-github-release | |
| with: | |
| github_head_ref: ${{ (github.head_ref) }} | |
| github_base_ref: ${{ (github.base_ref) }} | |
| ACTIONS_ACCESS_KEY: ${{ (secrets.ACTIONS_ACCESS_KEY) }} | |
| - name: Publish HttpSnippet Package | |
| run: yarn publish | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.ACTIONS_ACCESS_KEY }} |