Skip to content

Commit

Permalink
fix gh action build
Browse files Browse the repository at this point in the history
  • Loading branch information
undg committed Feb 12, 2023
1 parent a180ec6 commit 4277493
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
- name: build
run: |
sudo apt-get install -y libxi-dev
mkdir bin
go get -t ./...
go build -o bin/autorotate
cp -r _config bin/
zip -r autorotate.zip bin/*
go build -o autorotate
zip -r "autorotate-$GITHUB_REF_NAME.zip" autorotate
# - name: version
# run: echo "{version}::{$(./bin/autorotate version --short)}"
# id: version

- name: Release
uses: softprops/action-gh-release@v1
with:
files: ./autorotate-${{ github.ref_name }}.zip
files: |
./autorotate-${{ github.ref_name }}.zip
./autorotate

0 comments on commit 4277493

Please sign in to comment.