mirror of
https://github.com/jimeh/emacs-builds.git
synced 2026-02-19 08:26:40 +00:00
ci(meta): update workflow to use Go 1.20 and provide GITHUB_TOKEN
This commit is contained in:
11
.github/workflows/update-metadata.yml
vendored
11
.github/workflows/update-metadata.yml
vendored
@@ -14,16 +14,13 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: meta
|
||||
- uses: actions/setup-go@v2
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.17
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
key: ${{ runner.os }}-go-${{ hashFiles('builder/**/go.sum') }}
|
||||
restore-keys: ${{ runner.os }}-go-
|
||||
go-version: 1.20
|
||||
- name: update total downloads shield JSON
|
||||
run: go run . badges downloads -o total-downloads/shield.json
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
- name: commit and push changes to meta branch
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user