mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-05-06 14:03:40 +08:00
chore(deps): update github artifact actions (#1406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
|
||||
2
.github/workflows/documents.yml
vendored
2
.github/workflows/documents.yml
vendored
@@ -54,7 +54,7 @@ jobs:
|
||||
working-directory: docs
|
||||
|
||||
- name: Archive artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: dist
|
||||
path: docs/.vitepress/dist
|
||||
|
||||
Reference in New Issue
Block a user