v3.12.0 #147
This file contains 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: Resources | |
on: repository_dispatch | |
jobs: | |
resources: | |
name: Update resources | |
runs-on: ubuntu-latest | |
env: | |
VERSION: ${{ github.event.action }} | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm install | |
- name: Fetch resources | |
run: npx tsx ./index.ts $VERSION | |
- name: Update resources | |
uses: test-room-7/action-update-file@v1 | |
with: | |
file-path: resources/connectors.json | |
commit-msg: | | |
Update resources | |
Update connectors.json to match ${{ github.event.action }} version. | |
github-token: ${{ secrets.GITHUB_TOKEN }} |