diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9862b5..b155f9e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,8 +21,8 @@ jobs: - name: set variables run: | mkdir build - echo "::set-env name=VERSION::${GITHUB_REF##*/}" - echo "::set-env name=GOPRIVATE::github.com/v2ray/v2ray-core" + echo "VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV + echo "GOPRIVATE=github.com/v2ray/v2ray-core" >> $GITHUB_ENV shell: bash env: GITHUB_REF: ${{ github.ref }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ab5b3cb..41663b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: - name: set variables run: | mkdir build - echo "::set-env name=GOPRIVATE::github.com/v2ray/v2ray-core" + echo "GOPRIVATE=github.com/v2ray/v2ray-core" >> $GITHUB_ENV - name: Test run: go test ./... -v \ No newline at end of file