LabCodeHub öffentliche Ansicht
Anmelden
Küpper / Quildrop öffentlich

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
2 geänderte Datei(en) +21 −10
Kontextzeilen: 0 1 2 3 10
geändert .github/workflows/build-and-release.yml
+4 −4 Datei ansehen
@@ -40,8 +40,8 @@ jobs:
40 40
    steps:
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:
47 47
          go-version-file: go.mod
@@ -85,5 +85,5 @@ jobs:
85 85
86 86
      - name: Upload artifact
87 -
        uses: actions/upload-artifact@v4
87 +
        uses: actions/upload-artifact@v6
88 88
        with:
89 89
          name: ${{ env.BINARY_NAME }}-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.goarm && format('v{0}', matrix.goarm) || '' }}
@@ -96,5 +96,5 @@ jobs:
96 96
    steps:
97 97
      - name: Download all artifacts
98 -
        uses: actions/download-artifact@v4
98 +
        uses: actions/download-artifact@v7
99 99
        with:
100 100
          path: artifacts
geändert .github/workflows/build-and-release.yml
+17 −6 Datei ansehen
@@ -28,4 +28,7 @@ jobs:
28 28
          - goos: linux
29 29
            goarch: arm64
30 +
          - goos: linux
31 +
            goarch: arm
32 +
            goarm: '7'
30 33
          - goos: darwin
31 34
            goarch: amd64
@@ -49,9 +52,15 @@ jobs:
49 52
          GOOS: ${{ matrix.goos }}
50 53
          GOARCH: ${{ matrix.goarch }}
54 +
          GOARM: ${{ matrix.goarm }}
51 55
          CGO_ENABLED: '0'
52 56
        run: |
53 57
          set -euo pipefail
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
57 66
            BIN="${BIN}.exe"
@@ -62,19 +71,21 @@ jobs:
62 71
          mkdir -p dist
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
68 77
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
75 86
      - name: Upload artifact
76 87
        uses: actions/upload-artifact@v6
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/*
80 91
          if-no-files-found: error