2
0

Fix release workflow to use gitcaddy-runner naming
Some checks failed
CI / build-and-test (push) Successful in 1m15s
Release / build (arm64, darwin) (push) Has been cancelled
Release / build (arm64, linux) (push) Has been cancelled
Release / release (push) Has been cancelled
Release / build (amd64, windows) (push) Has been cancelled
Release / build (amd64, linux) (push) Has been cancelled
Release / build (amd64, darwin) (push) Has been cancelled

- Update ldflags to use git.marketally.com/gitcaddy/gitcaddy-runner path
- Rename output binaries from act_runner to gitcaddy-runner
- Update artifact names to match new naming convention

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
GitCaddy Bot
2026-01-16 10:49:46 -05:00
parent eb37073861
commit 898ef596ae

View File

@@ -44,14 +44,14 @@ jobs:
fi fi
echo "Building version: ${VERSION}" echo "Building version: ${VERSION}"
CGO_ENABLED=0 GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} \ CGO_ENABLED=0 GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} \
go build -a -ldflags "-X gitea.com/gitea/act_runner/internal/pkg/ver.version=${VERSION}" \ go build -a -ldflags "-X git.marketally.com/gitcaddy/gitcaddy-runner/internal/pkg/ver.version=${VERSION}" \
-o act_runner-${{ matrix.goos }}-${{ matrix.goarch }}${EXT} -o gitcaddy-runner-${VERSION}-${{ matrix.goos }}-${{ matrix.goarch }}${EXT}
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: act_runner-${{ matrix.goos }}-${{ matrix.goarch }} name: gitcaddy-runner-${{ matrix.goos }}-${{ matrix.goarch }}
path: act_runner-* path: gitcaddy-runner-*
release: release:
needs: build needs: build
@@ -67,7 +67,7 @@ jobs:
- name: Prepare release files - name: Prepare release files
run: | run: |
mkdir -p release mkdir -p release
find artifacts -type f -name 'act_runner-*' -exec mv {} release/ \; find artifacts -type f -name 'gitcaddy-runner-*' -exec mv {} release/ \;
cd release && sha256sum * > checksums.txt cd release && sha256sum * > checksums.txt
- name: Create Release - name: Create Release