Skip to content

Commit 3c42185

Browse files
committed
restore the old pr condition
1 parent 9dc4374 commit 3c42185

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
cargo build --release
2929
3030
- name: Upload default artifacts
31-
#if: github.event_name != 'pull_request'
31+
if: github.event_name != 'pull_request'
3232
uses: actions/upload-artifact@v3
3333
with:
3434
name: native-library-${{ matrix.os }}
@@ -38,7 +38,7 @@ jobs:
3838
strathweb-phi-engine/target/release/*.dll
3939
4040
- name: Upload bindings
41-
if: matrix.os == 'ubuntu-latest'
41+
if: matrix.os == 'ubuntu-latest' && github.event_name != 'pull_request'
4242
uses: actions/upload-artifact@v3
4343
with:
4444
name: language-bindings
@@ -59,18 +59,18 @@ jobs:
5959
- name: Build Swift Package
6060
run: ./build-swift.sh
6161
- name: Clean temporary build files from Swift Package
62-
#if: github.event_name != 'pull_request'
62+
if: github.event_name != 'pull_request'
6363
run: rm -rf packages/swift/Strathweb.Phi.Engine/.build
6464
- name: Upload artifact
65-
#if: github.event_name != 'pull_request'
65+
if: github.event_name != 'pull_request'
6666
uses: actions/upload-artifact@v3
6767
with:
6868
name: Strathweb.Phi.Engine-SwiftPackage
6969
path: packages/swift/Strathweb.Phi.Engine
7070

7171
build-nuget:
7272
runs-on: ubuntu-latest
73-
#if: github.event_name != 'pull_request'
73+
if: github.event_name != 'pull_request'
7474
needs: [build]
7575

7676
steps:

0 commit comments

Comments
 (0)