ci: avoid duplicate builds for another two CI builds

This commit is contained in:
Jon Häggblad
2023-10-03 11:58:51 +02:00
parent c324804aa9
commit 1fd02ede95
2 changed files with 4 additions and 0 deletions
@@ -22,6 +22,8 @@ jobs:
platform: [ubuntu-20.04]
runs-on: ${{ matrix.platform }}
# a push event from the origin repo, or a PR from external repo
if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'nymtech/nym' }}
steps:
- uses: actions/checkout@v3
+2
View File
@@ -19,6 +19,8 @@ jobs:
runs-on: [ self-hosted, custom-linux ]
# env:
# RUSTC_WRAPPER: /home/ubuntu/.cargo/bin/sccache
# a push event from the origin repo, or a PR from external repo
if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'nymtech/nym' }}
steps:
- name: Install Dependencies (Linux)
run: sudo apt-get update && sudo apt-get -y install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev squashfs-tools