diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ccea5c6..3f94d3c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -96,7 +96,7 @@ jobs: release: runs-on: ubuntu-latest - needs: [build-linux, build-mac] + needs: [build-linux, build-mac-arm, build-mac-intel] if: startsWith(github.event.ref, 'refs/tags/') # only on new tag creation env: TAG: ${{ github.ref_name }} @@ -111,8 +111,10 @@ jobs: release_exist=$(gh release view $TAG 2>&1 || exit 0) if [ "$release_exist" = "release not found" ]; then gh release create $TAG platform-tools-osx-aarch64.tar.bz2/platform-tools-osx-aarch64.tar.bz2 --title "Release $TAG" --generate-notes --latest + gh release upload $TAG platform-tools-osx-x86_64.tar.bz2/platform-tools-osx-x86_64.tar.bz2 gh release upload $TAG platform-tools-linux-x86_64.tar.bz2/platform-tools-linux-x86_64.tar.bz2 else gh release upload $TAG platform-tools-osx-aarch64.tar.bz2/platform-tools-osx-aarch64.tar.bz2 + gh release upload $TAG platform-tools-osx-x86_64.tar.bz2/platform-tools-osx-x86_64.tar.bz2 gh release upload $TAG platform-tools-linux-x86_64.tar.bz2/platform-tools-linux-x86_64.tar.bz2 fi