diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cad2c10..30c9743 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,10 @@ jobs: path: target key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} - name: Build + shell: bash run: | + echo "PATH=${PATH}" + echo "GSTREAMER_1_0_ROOT_MSVC_X86_64=${GSTREAMER_1_0_ROOT_MSVC_X86_64}" cargo build --release --all-features - uses: actions/upload-artifact@v3 with: @@ -127,7 +130,7 @@ jobs: push_to_registry: name: Build Docker image - # if: ${{ github.event_name }} == 'push' + if: ${{ github.event_name }} == 'push' runs-on: ubuntu-latest needs: - "cross" @@ -230,7 +233,7 @@ jobs: create_release: name: Create Release runs-on: ubuntu-latest - # if: startsWith(github.ref, 'refs/tags/') # Ensure this only runs on a tag or expect issues + # if: startsWith(github.ref, 'refs/tags/') && ${{ github.event_name }} == 'push' # Ensure this only runs on a tag or expect issues needs: - "cross" - "native"