Skip to content

Commit

Permalink
Update gothub.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ManeraKai authored Apr 20, 2024
1 parent a22b9e3 commit cb9c39b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/gothub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ jobs:
git clone https://codeberg.org/gothub/gothub.git
cd gothub/
git checkout master
GOARCH=amd64 GOOS=linux go build -o gothub_linux_x86_64 -ldflags="-X codeberg.org/gothub/gothubs/utils.Branch=$(git rev-parse --abbrev-ref HEAD)"
mv gothub_linux_x86_64 ../../
mv gothub_linux_x86_64 ../
GOARCH=amd64 GOOS=linux go build -o gothub_windows_x86_64.exe -ldflags="-X codeberg.org/gothub/gothubs/utils.Branch=$(git rev-parse --abbrev-ref HEAD)"
mv gothub_windows_x86_64.exe ../../
mv gothub_windows_x86_64.exe ../
cd ../../
tar -czvf gothub_linux_x86_64.tar.gz gothub/gothub_linux_x86_64
zip gothub_windows_x86_64.zip gothub/gothub_windows_x86_64.exe
Expand Down

0 comments on commit cb9c39b

Please sign in to comment.