From e769c7c1cc133cef49c3f1afaaed324b62fa41d7 Mon Sep 17 00:00:00 2001 From: liyp Date: Sun, 30 Apr 2023 11:06:11 +0800 Subject: [PATCH] change action 3 --- .gitea/workflows/build.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index c516cba..2a6d1c5 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -19,3 +19,17 @@ jobs: pnpm i pnpm build ls -la + tar czf yacd.tar.gz ./public + + - uses: actions/upload-artifact@v3 + with: + path: ./ + name: yacd.tar.gz + if-no-files-found: error + + - uses: actions/release-action@v1 + with: + allowUpdates: true + tag: "v*" + artifacts: "./yacd.tar.gz" + token: ${{ secrets.RELEASE_KEY }}