6 Commits

Author SHA1 Message Date
Adrian Zürcher
87d5d769c8 change artifact output 2025-05-29 10:27:05 +02:00
zuadi
510d2980ac fix secret name 2025-05-29 10:20:14 +02:00
zuadi
fb43c99920 add missing working directory for go mod 2025-05-29 10:08:46 +02:00
zuadi
be1a06a759 change git credential section 2025-05-29 10:05:45 +02:00
Adrian Zürcher
4951e2bb34 fix artifact tag to @4 2025-05-29 09:46:38 +02:00
Adrian Zürcher
403f35b87f fix wrong tabs to spaces 2025-05-29 09:45:02 +02:00

View File

@@ -42,8 +42,13 @@ jobs:
- name: Set up Git credentials for private modules
run: |
git config --global url."https://${{ secrets.GH_PAT }}@github.com/".insteadOf "https://github.com/"
echo "GOPRIVATE=github.com/tecamino/*" >> $GITHUB_ENV
git config --global url."https://oauth2:${{ secrets.GH_PAT }}@github.com".insteadOf "https://github.com"
env:
GH_PAT_FOR_MODULES: ${{ secrets.GH_PAT }}
- name: Go Mod Tidy & Download
working-directory: ./backend
run: go mod tidy -v
- name: Build go backend binary
working-directory: ./backend
@@ -56,9 +61,9 @@ jobs:
fi
- name: Upload build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: binaries-${{ matrix.goos }}-${{ matrix.goarch }}
name: spa-and-backend
path: |
dist/spa
backend/server
dist/spa
build/