Skip to content

Commit

Permalink
feat: Run Go script in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hegotit committed Aug 13, 2024
1 parent 4bd5b35 commit 646da13
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,22 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'

- name: Install dependencies
run: |
cd others/script
go mod tidy
- name: Build and Run
run: |
cd others/script
echo "Running script with custom Rime path..."
go run main.go --rime_path "${{ github.workspace }}" --auto_confirm
- name: Pack dicts
run: |
mkdir dist
Expand Down

0 comments on commit 646da13

Please sign in to comment.