Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
87d5d769c8 | ||
![]() |
510d2980ac | ||
![]() |
fb43c99920 | ||
![]() |
be1a06a759 | ||
![]() |
4951e2bb34 |
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@@ -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
|
||||
build/
|
||||
|
Reference in New Issue
Block a user