Merge branch 'main' of github.com:9IT-Full-Service/quilldrop
R
Rüdiger Küpper
<rpr@9it.de>
committete am 19.02.2026 09:09
07eb3f4b3c770b2007ed4f980129563d09fdcd33
| @@ -41,6 +41,6 @@ jobs: | ||
| 41 | 41 | - name: Checkout |
| 42 | -uses: actions/checkout@v4 |
|
| 42 | +uses: actions/checkout@v6 |
|
| 43 | 43 | |
| 44 | 44 | - name: Setup Go |
| 45 | -uses: actions/setup-go@v5 |
|
| 45 | +uses: actions/setup-go@v6 |
|
| 46 | 46 | with: |
| @@ -86,3 +86,3 @@ jobs: | ||
| 86 | 86 | - name: Upload artifact |
| 87 | -uses: actions/upload-artifact@v4 |
|
| 87 | +uses: actions/upload-artifact@v6 |
|
| 88 | 88 | with: |
| @@ -97,3 +97,3 @@ jobs: | ||
| 97 | 97 | - name: Download all artifacts |
| 98 | -uses: actions/download-artifact@v4 |
|
| 98 | +uses: actions/download-artifact@v7 |
|
| 99 | 99 | with: |
| @@ -29,2 +29,5 @@ jobs: | ||
| 29 | 29 | goarch: arm64 |
| 30 | +- goos: linux |
|
| 31 | +goarch: arm |
|
| 32 | +goarm: '7' |
|
| 30 | 33 | - goos: darwin |
| @@ -50,2 +53,3 @@ jobs: | ||
| 50 | 53 | GOARCH: ${{ matrix.goarch }} |
| 54 | + GOARM: ${{ matrix.goarm }} |
|
| 51 | 55 | CGO_ENABLED: '0' |
| @@ -54,3 +58,8 @@ jobs: | ||
| 54 | 58 | |
| 55 | - BIN="${BINARY_NAME}-${GOOS}-${GOARCH}" |
|
| 59 | + SUFFIX="${GOOS}-${GOARCH}" |
|
| 60 | + if [ -n "${GOARM}" ]; then |
|
| 61 | + SUFFIX="${SUFFIX}v${GOARM}" |
|
| 62 | +fi |
|
| 63 | + | |
| 64 | + BIN="${BINARY_NAME}-${SUFFIX}" |
|
| 56 | 65 | if [ "${GOOS}" = "windows" ]; then |
| @@ -63,5 +72,5 @@ jobs: | ||
| 63 | 72 | if [ "${GOOS}" = "windows" ]; then |
| 64 | - zip "dist/${BINARY_NAME}-${GOOS}-${GOARCH}.zip" "${BIN}" |
|
| 73 | + zip "dist/${BINARY_NAME}-${SUFFIX}.zip" "${BIN}" |
|
| 65 | 74 | else |
| 66 | - tar -czf "dist/${BINARY_NAME}-${GOOS}-${GOARCH}.tar.gz" "${BIN}" |
|
| 75 | + tar -czf "dist/${BINARY_NAME}-${SUFFIX}.tar.gz" "${BIN}" |
|
| 67 | 76 | fi |
| @@ -69,6 +78,8 @@ jobs: | ||
| 69 | 78 | - name: Generate checksum |
| 79 | +env: |
|
| 80 | + SUFFIX: ${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.goarm && format('v{0}', matrix.goarm) || '' }} |
|
| 70 | 81 | run: | |
| 71 | 82 | cd dist |
| 72 | - sha256sum * > checksums-${{ matrix.goos }}-${{ matrix.goarch }}.txt |
|
| 73 | - cat checksums-${{ matrix.goos }}-${{ matrix.goarch }}.txt |
|
| 83 | + sha256sum * > checksums-${SUFFIX}.txt |
|
| 84 | + cat checksums-${SUFFIX}.txt |
|
| 74 | 85 | |
| @@ -77,3 +88,3 @@ jobs: | ||
| 77 | 88 | with: |
| 78 | - name: ${{ env.BINARY_NAME }}-${{ matrix.goos }}-${{ matrix.goarch }} |
|
| 89 | + name: ${{ env.BINARY_NAME }}-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.goarm && format('v{0}', matrix.goarm) || '' }} |
|
| 79 | 90 | path: dist/* |