Refresh package on pkg.go.dev #19
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
# Manually trigger a refresh of pkg.go.dev by installing from latest commit | |
name: Refresh package on pkg.go.dev | |
on: | |
schedule: | |
- cron: "0 0 * * 5" | |
# Allows running this workflow from GitHub Actions tab | |
workflow_dispatch: | |
jobs: | |
refresh-package: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
- name: Refresh package | |
run: go install github.com/cybardev/ytgo/v3/cmd/ytgo@${{ github.sha }} |