We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 429e695 commit d39b2b0Copy full SHA for d39b2b0
.github/workflows/release.yml
@@ -38,7 +38,12 @@ jobs:
38
cp README.md install.sh CHANGELOG.md scan2epub
39
40
- name: Build
41
- run: GOARCH=${{ matrix.arch }} GOOS=${{ matrix.os }} go build -o scan2epub/scan2epub .
+ run: |
42
+ name="scan2epub"
43
+ if [ "${{ matrix.os }}" = "windows" ]; then
44
+ name="${name}.exe"
45
+ fi
46
+ GOARCH=${{ matrix.arch }} GOOS=${{ matrix.os }} go build -o "scan2epub/${name}" .
47
48
- name: Archive
49
run: |
0 commit comments