Skip to content

Commit

Permalink
Fixed build script and CI pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Nov 5, 2023
1 parent 5b91853 commit e0b0f91
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
Binary file added .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ jobs:
- name: Build AnkoWeb
run: ./build.sh

- name: Check successful build
- name: Checking AnkoWeb build
run: ./bin/ankoweb
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
go build -ldflags "-s -w" -o ../bin/ankoweb
go build -ldflags "-s -w" -o ./bin/ankoweb
5 changes: 5 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
for i in $*;
do
params=" $params $i"
done
go run github.com/nthnn/AnkoWeb $params

0 comments on commit e0b0f91

Please sign in to comment.