All checks were successful
Find / findVersion (push) Successful in 14s
46 lines
997 B
YAML
46 lines
997 B
YAML
name: Find
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 */6 * * *"
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
findVersion:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
name: Checkout code
|
|
with:
|
|
persist-credentials: true
|
|
ref: main
|
|
fetch-depth: 2
|
|
submodules: true
|
|
|
|
- run: |
|
|
git config --global user.email "fetch@sirherobrine23.org"
|
|
git config --global user.name "Bedrock Fetch"
|
|
|
|
- name: Setup Node JS
|
|
uses: actions/setup-node@v3.5.1
|
|
with:
|
|
node-version: 20.x
|
|
|
|
- name: Install Node Packages
|
|
run: npm install --no-save
|
|
|
|
- name: Find
|
|
timeout-minutes: 2
|
|
run: npm run start
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Upload to artifacts
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: Versions
|
|
path: ./versions
|
|
|
|
- run: git push || echo "Done" |