浏览代码

latest version improve

qiaofeng1227 2 年之前
父节点
当前提交
a2be5e32c2
共有 2 个文件被更改,包括 5 次插入4 次删除
  1. 3 2
      .github/workflows/upload_artifact.yml
  2. 2 2
      CHANGELOG.md

+ 3 - 2
.github/workflows/upload_artifact.yml

@@ -6,6 +6,7 @@ on:
     branches: [main]
     paths:
       - "version.json"
+      - "CHANGELOG.md"
 
 jobs:
   upload_artifact:
@@ -28,8 +29,8 @@ jobs:
           cp CHANGELOG.md websoft9
           cp version.json websoft9
           zip -r websoft9-$version.zip websoft9
-          zip -r websoft9-latest.zip websoft9
-          cp websoft9-$version.zip websoft9-latest.zip artifacts
+          cp websoft9-$version.zip artifacts
+          cp artifacts/websoft9-$version.zip artifacts/websoft9-latest.zip
 
       - name: Upload To Azure Blob
         uses: LanceMcCarthy/Action-AzureBlobUpload@v2

+ 2 - 2
CHANGELOG.md

@@ -1,6 +1,6 @@
-## 0.8.2 release on 2023-07-21
+## 0.8.2 release on 2023-07-24
 
-1. install from artifact
+1. install from artifacts
 
 ## 0.7.2 release on 2023-06-25