Skip to content

Commit

Permalink
run go get before workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexwang8 committed Apr 10, 2024
1 parent 4bfe4a6 commit c978a63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish

on:
push:
branches: ['main']
branches: ["main"]

jobs:
publish:
Expand All @@ -16,5 +16,7 @@ jobs:

- 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}
1 change: 0 additions & 1 deletion cmd/dataset_tokenizer/dataset_tokenizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"fmt"
"io"
"log"
"path/filepath"
"math/rand"
"os"
"path/filepath"
Expand Down

0 comments on commit c978a63

Please sign in to comment.