diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c29dc9c8..9b9bdf6a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,12 +16,15 @@ jobs: - platform: windows-latest args: "--verbose" target: "windows" + bundleDir: msi - platform: macos-latest args: "--target x86_64-apple-darwin" target: "macos-intel" + bundleDir: dmg - platform: macos-latest args: "--target aarch64-apple-darwin" target: "macos-arm" + bundleDir: dmg runs-on: ${{ matrix.settings.platform }} steps: @@ -65,6 +68,8 @@ jobs: TAURI_VERSION: ${{ github.event.inputs.version }} - name: Upload Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: - name: tauri-${{ matrix.settings.target }} + name: TeyvatGuide_v${{ github.event.inputs.version }}_${{ matrix.settings.target }} + path: src-tauri/target/${{ matrix.settings.target }}/release/bundle/${{ matrix.settings.bundleDir }}/ + if-no-files-found: error