|
|
@@ -89,7 +89,7 @@ jobs:
|
|
|
fi
|
|
|
|
|
|
- name: Archive app artifacts
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
+ uses: actions/upload-artifact@v5
|
|
|
with:
|
|
|
name: app-dist
|
|
|
path: |
|
|
|
@@ -194,7 +194,7 @@ jobs:
|
|
|
go-${{ runner.os }}-${{ runner.arch }}-${{ env.CACHE_NAME }}-
|
|
|
|
|
|
- name: Download app artifacts
|
|
|
- uses: actions/download-artifact@v5
|
|
|
+ uses: actions/download-artifact@v6
|
|
|
with:
|
|
|
name: app-dist
|
|
|
path: app/dist.tar.xz
|
|
|
@@ -261,7 +261,7 @@ jobs:
|
|
|
go build -trimpath -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o dist/$BINARY_NAME -v main.go
|
|
|
|
|
|
- name: Archive backend artifacts
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
+ uses: actions/upload-artifact@v5
|
|
|
with:
|
|
|
name: ${{ env.ARTIFACT }}
|
|
|
path: dist/${{ env.BINARY_NAME }}
|
|
|
@@ -348,7 +348,7 @@ jobs:
|
|
|
go-${{ runner.os }}-${{ runner.arch }}-${{ env.CACHE_NAME }}-
|
|
|
|
|
|
- name: Download app artifacts
|
|
|
- uses: actions/download-artifact@v5
|
|
|
+ uses: actions/download-artifact@v6
|
|
|
with:
|
|
|
name: app-dist
|
|
|
path: app/dist.tar.xz
|
|
|
@@ -362,7 +362,7 @@ jobs:
|
|
|
go build -trimpath -tags=jsoniter -ldflags "-w -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o dist/$BINARY_NAME -v main.go
|
|
|
|
|
|
- name: Archive backend artifacts
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
+ uses: actions/upload-artifact@v5
|
|
|
with:
|
|
|
name: ${{ env.ARTIFACT }}
|
|
|
path: dist/${{ env.BINARY_NAME }}
|
|
|
@@ -422,7 +422,7 @@ jobs:
|
|
|
type=raw,value=latest,enable=${{ github.event_name == 'release' && !github.event.release.prerelease }}
|
|
|
|
|
|
- name: Download artifacts
|
|
|
- uses: actions/download-artifact@v5
|
|
|
+ uses: actions/download-artifact@v6
|
|
|
with:
|
|
|
path: ./dist
|
|
|
|