Skip to content

Commit

Permalink
Change workflow to make use of go module splitsh/lite
Browse files Browse the repository at this point in the history
  • Loading branch information
Hectorhammett committed Oct 21, 2024
1 parent 6dcd0cd commit befd3ea
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@ jobs:
mkdir libgit2/build && cd libgit2/build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
sudo cmake --build . --target install
- name: Compile splitsh
- name: Install splitsh-lite
run: |
go env -w GO111MODULE=off
go get github.com/splitsh/lite
go build -o /usr/local/bin/splitsh-lite github.com/splitsh/lite
go install github.com/splitsh/lite
- name: Checkout google/cloud
uses: actions/checkout@v4
with:
Expand All @@ -58,7 +56,7 @@ jobs:
RELEASE_TAG: ${{ inputs.tag != '' && inputs.tag || steps.getTag.outputs.tag }}
run: |
./dev/google-cloud split $GITHUB_REPOSITORY $RELEASE_TAG \
--splitsh=/usr/local/bin/splitsh-lite \
--splitsh=$HOME/go/bin/lite \
-t ${{ secrets.SPLIT_TOKEN }} \
--packagist-username=${{ vars.PACKAGIST_USERNAME }} \
--packagist-token=${{ secrets.PACKAGIST_TOKEN }}

0 comments on commit befd3ea

Please sign in to comment.