Hall of Contributions Widget Updater #1
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: Hall of Contributions Widget Updater | |
on: | |
workflow_dispatch: | |
jobs: | |
update-readme: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 # This is still a separate step, not part of your local action | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Install dependencies | |
run: npm install | |
- name: Build the action | |
run: npm run build | |
- name: Run Local Image Updater Action | |
uses: ./hall-of-contributions # Reference the local action | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |