diff --git a/.github/workflows/binaries.yml b/.github/workflows/binaries.yml index 52d377e..bd32883 100644 --- a/.github/workflows/binaries.yml +++ b/.github/workflows/binaries.yml @@ -10,8 +10,6 @@ jobs: build: name: Build for ${{ matrix.os }} runs-on: ${{ matrix.os }} - permissions: - contents: write strategy: fail-fast: false matrix: @@ -19,13 +17,10 @@ jobs: include: - os: ubuntu-latest artifact_name: voxvera-linux - asset_name: voxvera-linux - os: windows-latest artifact_name: voxvera-windows.exe - asset_name: voxvera-windows.exe - os: macos-latest artifact_name: voxvera-macos - asset_name: voxvera-macos steps: - name: Checkout code @@ -105,16 +100,26 @@ jobs: voxvera/resources/bin/*.AppImage voxvera/resources/bin/*.flatpak + publish: + name: Create GitHub Release + needs: build + runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') + permissions: + contents: write + steps: + - name: Download all artifacts + uses: actions/download-artifact@v4 + with: + path: artifacts + pattern: binaries-* + merge-multiple: true + - name: Release uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') with: files: | - dist/${{ matrix.artifact_name }} - voxvera/resources/bin/*.deb - voxvera/resources/bin/*.dmg - voxvera/resources/bin/*.AppImage - voxvera/resources/bin/*.flatpak + artifacts/**/* fail_on_unmatched_files: false env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/ci/test-e2e.sh b/ci/test-e2e.sh index 59fc45b..29c8053 100755 --- a/ci/test-e2e.sh +++ b/ci/test-e2e.sh @@ -50,6 +50,8 @@ if [ "${VOXVERA_E2E_OFFLINE:-}" != "1" ]; then OS_PID=$! # Wait for URL + echo "Waiting for OnionShare to generate URL..." + sleep 15 URL="" i=0 while [ $i -lt 90 ]; do