Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanVolkov committed Sep 11, 2024
1 parent a78f186 commit 5e465da
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/build_index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,37 @@ name: Build index
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
uses: easimon/maximize-build-space@master
with:
- name: Maximize build space
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: |
- 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
Expand Down

0 comments on commit 5e465da

Please sign in to comment.