浏览代码

ci: add build artifacts to release

Nicolas Giard 3 年之前
父节点
当前提交
ae6fcf4383
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      .github/workflows/build.yml

+ 14 - 0
.github/workflows/build.yml

@@ -296,6 +296,7 @@ jobs:
     
     - name: Tag Images
       run: |
+        docker pull requarks/wiki:beta-$REL_VERSION_STRICT
         docker pull ghcr.io/requarks/wiki:beta-$REL_VERSION_STRICT
         
         echo "Fetching semver tool..."
@@ -329,6 +330,18 @@ jobs:
         docker push ghcr.io/requarks/wiki:$MAJORMINOR
         docker push ghcr.io/requarks/wiki:latest
         
+    - name: Download Linux Build
+      uses: actions/download-artifact@v2.1.0
+      with:
+        name: drop
+        path: drop
+        
+    - name: Download Windows Build
+      uses: actions/download-artifact@v2.1.0
+      with:
+        name: drop-win
+        path: drop-win
+        
     - name: Generate Changelog
       id: changelog
       uses: Requarks/changelog-action@v1
@@ -345,4 +358,5 @@ jobs:
         name: ${{ github.ref_name }}
         body: ${{ steps.changelog.outputs.changes }}
         token: ${{ github.token }}
+        artifacts: 'drop/wiki-js.tar.gz,drop-win/wiki-js-windows.tar.gz'