mirror of
https://github.com/barkeser2002/minecraft-data.git
synced 2026-11-24 06:26:15 +03:00
* Handle snapshots in update workflow * update workflow * Add 23w33a to pc protocolVersions.json * Add 23w35a to pc protocolVersions.json --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
25 lines
680 B
YAML
25 lines
680 B
YAML
name: Update Helper
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 */2 * * *"
|
|
|
|
jobs:
|
|
helper:
|
|
name: update-checker
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@master
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@master
|
|
with:
|
|
node-version: 18.0.0
|
|
- name: Install Github Actions toolkit
|
|
run: npm i @actions/github
|
|
working-directory: .github/helper-bot
|
|
# The env vars contain the relevant trigger information, so we don't need to pass it
|
|
- name: Runs helper
|
|
run: cd .github/helper-bot && node index.js
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |