diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6f110e68..8a4b3f5c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,11 +15,19 @@ jobs: name: Build runs-on: ${{ matrix.platform }} steps: - - name: Set up Go + - name: Setup Go uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} + - name: Set up Node + uses: actions/setup-node@v2 + with: + node-version: '16' + + - name: Setup docker + uses: docker-practice/actions-setup-docker@master + - name: Checkout uses: actions/checkout@v2 with: @@ -33,11 +41,6 @@ jobs: ref: v2 path: alist-web - - name: Set up Node - uses: actions/setup-node@v2 - with: - node-version: '16' - - name: Set up xgo run: | docker pull techknowlogick/xgo:latest diff --git a/build.sh b/build.sh index fe72264c..7fb2c422 100644 --- a/build.sh +++ b/build.sh @@ -9,7 +9,7 @@ gitCommit=$(git log --pretty=format:"%h" -1) if [ "$1" == "release" ]; then gitTag=$(git describe --abbrev=0 --tags) else - gitTag="beta" + gitTag=$(git describe --abbrev=0 --tags)-next fi ldflags="\