Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
87d5d769c8 | ||
![]() |
510d2980ac | ||
![]() |
fb43c99920 | ||
![]() |
be1a06a759 |
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@@ -42,8 +42,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Set up Git credentials for private modules
|
- name: Set up Git credentials for private modules
|
||||||
run: |
|
run: |
|
||||||
git config --global url."https://${{ secrets.GH_PAT }}@github.com/".insteadOf "https://github.com/"
|
git config --global url."https://oauth2:${{ secrets.GH_PAT }}@github.com".insteadOf "https://github.com"
|
||||||
echo "GOPRIVATE=github.com/tecamino/*" >> $GITHUB_ENV
|
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
|
- name: Build go backend binary
|
||||||
working-directory: ./backend
|
working-directory: ./backend
|
||||||
@@ -58,7 +63,7 @@ jobs:
|
|||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: binaries-${{ matrix.goos }}-${{ matrix.goarch }}
|
name: spa-and-backend
|
||||||
path: |
|
path: |
|
||||||
dist/spa
|
dist/spa
|
||||||
backend/server
|
build/
|
||||||
|
Reference in New Issue
Block a user