Percy Ma committed 2023-01-04 15:41:31 +08:00
1 parent 0055a61988
commit 3ca18f72be
4 files changed
+14 -14

No files matched your search

+4 -4
View File
@@ -9,15 +9,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Prepare
id: prep
run: |
TAG=$(echo $GITHUB_REF | cut -d / -f 3)
IMAGE="mzz2017/v2raya"
echo ::set-output name=image::${IMAGE}
echo ::set-output name=tag::${TAG:1}
echo image=${IMAGE} >> $GITHUB_OUTPUT
echo tag=${TAG:1} >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
@@ -43,4 +43,4 @@ jobs:
${{ steps.prep.outputs.image }}:${{ steps.prep.outputs.tag }}
${{ steps.prep.outputs.image }}:latest
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=max
+2 -2
View File
@@ -9,7 +9,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
@@ -31,4 +31,4 @@ jobs:
push: true
tags: mzz2017/v2raya-gui:latest
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=max
+4 -4
View File
@@ -8,15 +8,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Prepare
id: prep
run: |
TAG=$(git log --pretty=format:"%ad" --date=format:%Y%m%d $(git show -s --format=%H) -1)
IMAGE="mzz2017/v2raya-nightly"
echo ::set-output name=image::${IMAGE}
echo ::set-output name=tag::${TAG}
echo image=${IMAGE} >> $GITHUB_OUTPUT
echo tag=${TAG} >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
@@ -42,4 +42,4 @@ jobs:
${{ steps.prep.outputs.image }}:${{ steps.prep.outputs.tag }}
${{ steps.prep.outputs.image }}:latest
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=max
+4 -4
View File
@@ -29,7 +29,7 @@ jobs:
DESC: "A web GUI client of Project V which supports VMess, VLESS, SS, SSR, Trojan and Pingtunnel protocols."
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -51,16 +51,16 @@ jobs:
echo "VERSION=$version" >> $GITHUB_OUTPUT
echo "VERSION=$version" >> $GITHUB_ENV
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ^1.17
- name: Set up Node.js
uses: actions/setup-node@v2.4.0
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: 'yarn'
cache-dependency-path: gui/yarn.lock
- uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true