Update gist with Steam Playtime #33000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update gist with Steam Playtime | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
schedule: | |
- cron: "0 * * * *" | |
jobs: | |
build: | |
name: Upddate-gist | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
GIST_ID: 8bf56353bcb3a8e798b55b546b9619cf | |
STEAM_API_KEY: ${{ secrets.STEAM_API_KEY }} | |
STEAM_ID: ${{ secrets.STEAM_ID }} | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.14 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Update-gist | |
run: go run ./cmd/box/main.go | |