Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: manual upgrade #425

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
version: 2

updates:
- package-ecosystem: npm
directory: /
schedule:
interval: daily

- package-ecosystem: docker
directory: /
schedule:
interval: daily

- package-ecosystem: github-actions
directory: /
schedule:
interval: daily

- package-ecosystem: gitsubmodule
directory: /
schedule:
interval: daily
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '^1.21'
- run: go version
Expand All @@ -45,7 +45,7 @@ jobs:
zip -9vr daed-full-src.zip . -x .git/\*

- name: Upload artifact - full source
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: daed-full-src.zip
path: daed-full-src.zip
Expand All @@ -59,7 +59,7 @@ jobs:
with:
version: latest

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: latest
Expand All @@ -70,7 +70,7 @@ jobs:
pnpm build

- name: Upload artifact - web
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: web
path: dist
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:

steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '^1.21'
- run: go version
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
sudo apt-get install -y gcc-mips64-linux-gnuabi64 gcc-mips64el-linux-gnuabi64 gcc-mips-linux-gnu gcc-mipsel-linux-gnu

- name: Download artifact - web
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: web
path: dist/
Expand All @@ -201,7 +201,7 @@ jobs:
curl -L -o ./bundled/geosite.dat https://github.com/v2rayA/dist-v2ray-rules-dat/raw/master/geosite.dat

- name: Upload artifact - bundle
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.get_filename.outputs.BUNDLE_NAME }}
path: bundled/*
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:

- name: Upload Linux packages
if: ${{ env.GOARM != '5' && env.GOARM != '6' && env.GOARCH != 'mips' && env.GOARCH != 'mipsle' && env.GOARCH != 'mips64' && env.GOARCH != 'mips64le' }}
uses: nanoufo/action-upload-artifacts-and-release-assets@v1.5
uses: nanoufo/action-upload-artifacts-and-release-assets@v2.0
with:
path: |
installer-${{ steps.get_filename.outputs.BUNDLE_NAME }}.deb
Expand All @@ -277,7 +277,7 @@ jobs:

- name: Upload Linux packages without Arch Linux package
if: ${{ env.GOARCH == 'mips' || env.GOARCH == 'mipsle' || env.GOARCH == 'mips64' || env.GOARCH == 'mips64le' }}
uses: nanoufo/action-upload-artifacts-and-release-assets@v1.5
uses: nanoufo/action-upload-artifacts-and-release-assets@v2.0
with:
path: |
installer-${{ steps.get_filename.outputs.BUNDLE_NAME }}.deb
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pick-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '^1.21'
- run: go version
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
shasum -a 512 $FILE >>$DGST

- name: Upload artifact - full source
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: daed-full-src.zip
path: daed-full-src.zip
Expand All @@ -69,7 +69,7 @@ jobs:
with:
version: latest

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: latest
Expand All @@ -80,7 +80,7 @@ jobs:
pnpm build

- name: Upload artifact - web
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: web
path: dist
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:

steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '^1.21'
- run: go version
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
sudo apt-get install -y gcc-mips64-linux-gnuabi64 gcc-mips64el-linux-gnuabi64 gcc-mips-linux-gnu gcc-mipsel-linux-gnu

- name: Download artifact - web
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: web
path: dist/
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
shasum -a 512 $FILE >>$DGST

- name: Upload artifact - bundle
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.get_filename.outputs.BUNDLE_NAME }}
path: bundled/*
14 changes: 7 additions & 7 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '^1.21'
- run: go version
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
shasum -a 512 $FILE >>$DGST

- name: Upload artifact - full source
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: daed-full-src.zip
path: daed-full-src.zip
Expand All @@ -97,7 +97,7 @@ jobs:
with:
version: latest

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: latest
Expand All @@ -108,7 +108,7 @@ jobs:
pnpm build

- name: Upload artifact - web
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: web
path: dist
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:

steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '^1.21'
- run: go version
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
sudo apt-get install -y gcc-mips64-linux-gnuabi64 gcc-mips64el-linux-gnuabi64 gcc-mips-linux-gnu gcc-mipsel-linux-gnu

- name: Download artifact - web
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: web
path: dist/
Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
shasum -a 512 $FILE >>$DGST

- name: Upload artifact - bundle
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.get_filename.outputs.BUNDLE_NAME }}
path: bundled/*
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '^1.21'
- run: go version
Expand All @@ -36,7 +36,7 @@ jobs:
zip -9vr daed-full-src.zip . -x .git/\*

- name: Upload artifact - full source
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: daed-full-src.zip
path: daed-full-src.zip
Expand All @@ -50,7 +50,7 @@ jobs:
with:
version: latest

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: latest
Expand All @@ -61,7 +61,7 @@ jobs:
pnpm build

- name: Upload artifact - web
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: web
path: dist
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:

steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '^1.21'
- run: go version
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
sudo apt-get install -y gcc-mips64-linux-gnuabi64 gcc-mips64el-linux-gnuabi64 gcc-mips-linux-gnu gcc-mipsel-linux-gnu

- name: Download artifact - web
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: web
path: dist/
Expand All @@ -192,7 +192,7 @@ jobs:
curl -L -o ./bundled/geosite.dat https://github.com/v2rayA/dist-v2ray-rules-dat/raw/master/geosite.dat

- name: Upload artifact - bundle
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.get_filename.outputs.BUNDLE_NAME }}
path: bundled/*
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:

- name: Upload Linux packages
if: ${{ env.GOARM != '5' && env.GOARM != '6' && env.GOARCH != 'mips' && env.GOARCH != 'mipsle' && env.GOARCH != 'mips64' && env.GOARCH != 'mips64le' }}
uses: nanoufo/action-upload-artifacts-and-release-assets@v1.5
uses: nanoufo/action-upload-artifacts-and-release-assets@v2.0
with:
path: |
installer-${{ steps.get_filename.outputs.BUNDLE_NAME }}.deb
Expand All @@ -268,7 +268,7 @@ jobs:

- name: Upload Linux packages without Arch Linux package
if: ${{ env.GOARCH == 'mips' || env.GOARCH == 'mipsle' || env.GOARCH == 'mips64' || env.GOARCH == 'mips64le' }}
uses: nanoufo/action-upload-artifacts-and-release-assets@v1.5
uses: nanoufo/action-upload-artifacts-and-release-assets@v2.0
with:
path: |
installer-${{ steps.get_filename.outputs.BUNDLE_NAME }}.deb
Expand All @@ -279,7 +279,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: release/

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
version: latest

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: latest
Expand All @@ -33,7 +33,7 @@ jobs:
pnpm build

- name: Upload artifact - web
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: web
path: dist
Expand All @@ -50,7 +50,7 @@ jobs:
submodules: 'recursive'

- name: Download artifact - web
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: web
path: dist/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
version: latest

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: latest
Expand Down
Loading
Loading