From 55c369f23c640afee04b8f2c6acdfea5e8ef629a Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Mon, 5 Sep 2022 00:52:05 +0800 Subject: [PATCH] chore: update workflows config. --- .github/workflows/ci.yml | 6 ++++-- README.md | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 631ec14..02d005b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -177,7 +177,7 @@ jobs: - uses: actions/upload-artifact@v3 with: - name: wxmp-macos-zip + name: wxmp-macos path: | electron/app/dist/*.zip @@ -267,7 +267,7 @@ jobs: roll_back: if: failure() - needs: [create_release] + needs: [build, create_release] runs-on: ubuntu-latest timeout-minutes: 4 steps: @@ -275,6 +275,8 @@ jobs: with: ref: ${{ github.head_ref }} + - run: echo "outputs.version - ${{ needs.build.outputs.create_tag_version }}" + - uses: dev-drprasad/delete-tag-and-release@v0.2.0 if: needs.build.outputs.successful with: diff --git a/README.md b/README.md index 4463218..9eb4bf8 100644 --- a/README.md +++ b/README.md @@ -185,11 +185,11 @@ docker pull ghcr.io/jaywcjlove/wxmp:latest ``` ```bash -docker run --name wxmp --rm -d -p 96611:3000 wcjiang/wxmp:latest +docker run --name wxmp --rm -d -p 8113:3000 wcjiang/wxmp:latest # Or -docker run --name wxmp -itd -p 96611:3000 wcjiang/wxmp:latest +docker run --name wxmp -itd -p 8113:3000 wcjiang/wxmp:latest # Or -docker run --name wxmp -itd -p 96611:3000 ghcr.io/jaywcjlove/wxmp:latest +docker run --name wxmp -itd -p 8113:3000 ghcr.io/jaywcjlove/wxmp:latest ``` 在浏览器中访问以下 URL