🐛 fix: remove unnecessary set up build environment step
This commit is contained in:
@@ -139,15 +139,6 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up build environment
|
||||
run: |
|
||||
echo "Build cache image: ${{ env.CI_REGISTRY }}/${{ env.GITEA_ORG }}/${{ env.GITEA_REPO }}-build-cache:${{ needs.build-cache.outputs.deps_hash }}"
|
||||
echo "DEPS_HASH=${{ needs.build-cache.outputs.deps_hash }}" >> $GITHUB_ENV
|
||||
|
||||
# Cache is guaranteed to be available since build-cache job succeeded
|
||||
echo "✅ Using Docker build cache (guaranteed by build-cache job)"
|
||||
echo "CACHE_AVAILABLE=true" >> $GITHUB_ENV
|
||||
|
||||
- name: Generate Swagger Docs
|
||||
run: go generate ./pkg/server
|
||||
|
||||
|
||||
Reference in New Issue
Block a user