diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c0b7272..99d9655 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -83,24 +83,28 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Download artifacts + - name: Download artifacts for Windows uses: actions/download-artifact@v3 with: - name: DeskThing-ubuntu-latest - path: ./dist/ubuntu - - uses: actions/download-artifact@v3 + name: DeskThing-windows-${{ steps.get_version.outputs.VERSION }} + path: ./dist/windows + + - name: Download artifacts for macOS + uses: actions/download-artifact@v3 with: - name: DeskThing-macos-latest + name: DeskThing-macos-${{ steps.get_version.outputs.VERSION }} path: ./dist/macos - - uses: actions/download-artifact@v3 + + - name: Download artifacts for Linux + uses: actions/download-artifact@v3 with: - name: DeskThing-windows-latest - path: ./dist/windows + name: DeskThing-linux-${{ steps.get_version.outputs.VERSION }} + path: ./dist/linux - name: Check for existing release id: release_check run: | - TAG_NAME=$(git describe --tags --exact-match ${{ github.sha }}) + TAG_NAME=$(git describe --tags --exact-match ${{ github.sha }} || echo '') echo "::set-output name=tag_name::${TAG_NAME}" - name: Create or update release @@ -110,9 +114,9 @@ jobs: with: tag_name: ${{ steps.release_check.outputs.tag_name }} files: | - ./dist/ubuntu/* - ./dist/macos/* - ./dist/windows/* + ./dist/windows/*.exe + ./dist/macos/*.dmg + ./dist/linux/*.AppImage env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -121,8 +125,8 @@ jobs: uses: softprops/action-gh-release@v1 with: files: | - ./dist/ubuntu/* - ./dist/macos/* - ./dist/windows/* + ./dist/windows/*.exe + ./dist/macos/*.dmg + ./dist/linux/*.AppImage env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/wrench.png b/wrench.png deleted file mode 100644 index 254b42d..0000000 Binary files a/wrench.png and /dev/null differ