Fix go.mod
and go.sum
more.
#90
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: Publish | |
on: | |
push: | |
branches: ["main"] | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: 1.17 | |
- uses: actions/checkout@v2 | |
- uses: imjasonh/setup-ko@v0.6 | |
- run: ko publish --base-import-paths ./cmd/model_downloader -t ${GITHUB_SHA::7} | |
- working-directory: ./cmd/dataset_tokenizer | |
run: go get github.com/wbrown/gpt_bpe/resources | |
- working-directory: ./cmd/dataset_tokenizer | |
run: ko publish --base-import-paths . -t ${GITHUB_SHA::7} |