浏览代码

Update workflows

Daniel Chalmers 9 月之前
父节点
当前提交
b198521a76
共有 3 个文件被更改,包括 8 次插入7 次删除
  1. 5 4
      .github/actions/full-build/action.yml
  2. 1 1
      .github/workflows/build.yml
  3. 2 2
      .github/workflows/deploy.yml

+ 5 - 4
.github/actions/prepare-for-release/action.yml → .github/actions/full-build/action.yml

@@ -1,6 +1,6 @@
-name: Prepare for release
+name: Full Build
 
-description: Builds, tests, and creates an installer that's ready for release.
+description: Builds, tests, and creates binaries that are ready for release.
 
 inputs:
   version:
@@ -41,6 +41,7 @@ runs:
 
     - uses: actions/upload-artifact@v4
       with:
+        if-no-files-found: error
         path: |
-          "publish/*.zip"
-          "publish/*.msi"
+          publish/*.zip
+          publish/*.msi

+ 1 - 1
.github/workflows/build.yml

@@ -10,4 +10,4 @@ jobs:
     steps:
       - uses: actions/checkout@v4
       
-      - uses: ./.github/actions/prepare-for-release
+      - uses: ./.github/actions/full-build

+ 2 - 2
.github/workflows/deploy.yml

@@ -1,4 +1,4 @@
-name: Deploy
+name: Release and deploy
 
 on:
   workflow_dispatch:
@@ -18,7 +18,7 @@ jobs:
     steps:
     - uses: actions/checkout@v4
     
-    - uses: ./.github/actions/prepare-for-release
+    - uses: ./.github/actions/full-build
       with:
         version: ${{ github.event.inputs.version }}