From 14d297bd5bddd0bfb131b7759f0716f354b3ee1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AE=80=E7=AE=80=E7=88=B1?= <59829816+jianjianai@users.noreply.github.com> Date: Mon, 22 May 2023 14:57:15 +0800 Subject: [PATCH] Create upload-to-release-cloudflareWorker.yml --- .../upload-to-release-cloudflareWorker.yml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/upload-to-release-cloudflareWorker.yml diff --git a/.github/workflows/upload-to-release-cloudflareWorker.yml b/.github/workflows/upload-to-release-cloudflareWorker.yml new file mode 100644 index 00000000..5c7355cc --- /dev/null +++ b/.github/workflows/upload-to-release-cloudflareWorker.yml @@ -0,0 +1,26 @@ +name: upload to release cloudflareWorker + +permissions: + contents: write + +on: + push: + tags: + - "*.*.*.*" + + +jobs: + build-jar: + name: 发布cloudflareWorker + runs-on: ubuntu-latest + steps: + - name : 检查 + uses: actions/checkout@v3 + + - name: 创建发行版 + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: | + ./cloudflareWorker.js +