From 1f7e2271da6d9777f44e18fd41e2780843e7fe9f Mon Sep 17 00:00:00 2001 From: OBKoro1 Date: Sun, 5 Jun 2022 21:11:48 +0800 Subject: [PATCH] chore: cicd --- .github/workflows/cicd.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index a9b7746..7c73f39 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -65,7 +65,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # github token with: upload_url: ${{ steps.create_release.outputs.upload_url }} # 默认上传地址 - asset_path: ./dist/Chrome-file.zip # 需要上传的资源 + asset_path: ./dist/Chrome-file-${{ steps.vars.outputs.tag }}.zip # 需要上传的资源 asset_name: stop-mess-around-chrome-file-${{ steps.vars.outputs.tag }}.zip # 更改资源名 asset_content_type: application # 一个包 - run: npm run release:Edg # 打包 @@ -77,7 +77,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # github token with: upload_url: ${{ steps.create_release.outputs.upload_url }} # 默认上传地址 - asset_path: ./dist/Edge-file.zip # 需要上传的资源 + asset_path: ./dist/Edge-file-${{ steps.vars.outputs.tag }}.zip # 需要上传的资源 asset_name: stop-mess-around--edge-file-${{ steps.vars.outputs.tag }}.zip # 更改资源名 asset_content_type: application # 一个包 - run: npm run release:fireFox # 打包 @@ -89,6 +89,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # github token with: upload_url: ${{ steps.create_release.outputs.upload_url }} # 默认上传地址 - asset_path: ./dist/fireFox-file.zip # 需要上传的资源 + asset_path: ./dist/fireFox-file-${{ steps.vars.outputs.tag }}.zip # 需要上传的资源 asset_name: stop-mess-around-fireFox-file-${{ steps.vars.outputs.tag }}.zip # 更改资源名 asset_content_type: application # 一个包