Skip to content

Workflow file for this run

name: Build index
on:
schedule:
- cron: 0 0 * * MON
workflow_dispatch: null
jobs:
build_and_commit:
runs-on: ubuntu-latest
permissions:
contents: write
timeout-minutes: 360
steps:
- name: Maximize build space

Check failure on line 14 in .github/workflows/build_index.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_index.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: true
remove-codeql: true
remove-docker-images: true
remove-android: true
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ^1.23
- name: Checkout repo
uses: actions/checkout@v2
with:
ssh-key: "${{secrets.GH_ACTIONS_KEY}}"
- name: Run main.go
working-directory: ./index_builder
run: go run main.go
- name: Commit and push changes
working-directory: ./index_builder
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add ../lua/go_get/index.txt
git commit -m "Updated index.txt via GitHub Actions"
git push