Skip to content

Commit

Permalink
ci: debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
kamikazechaser committed Feb 22, 2024
1 parent 97f8928 commit 2fb4add
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,22 @@ jobs:
pkg: cmd/ge-publish
dest: dist
prefix: ge-publish
targets: windows/amd64,linux/amd64,darwin/amd64,darwin/arm64
v: true
x: false
targets: linux/amd64
v: false
x: true
race: false
ldflags: -X main.build={{ steps.vars.outputs.sha_short }} -s -w
buildmode: default
trimpath: true

- name: Debug ls
run: |
ls -alh dist/
- name: Compress dist files
run: |
for file in dist/*; do
if [ -f "$file" ]; then
zip -r "$file.zip" "$file" LICENSE
zip -r "$file.zip" "$file"
fi
done
Expand Down

0 comments on commit 2fb4add

Please sign in to comment.