Check env variables
This commit is contained in:
1 parent
7508a956f9
commit
d8147b1fdc
1 file changed
+5
-2
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user