Files
BedrockFetch/.github/workflows/find.yaml
Matheus Sampaio Queiroga 8b5c3a885d
All checks were successful
Find / findVersion (push) Successful in 1m38s
update code
Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
2023-12-11 15:03:01 -03:00

42 lines
855 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
- 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"