diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b0543c72..c6bac200 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -87,13 +87,8 @@ jobs: - uses: actions/checkout@v2 # Build libfds library ------------------------------------------------------------------ - # Note: Master against master branch. Otherwise against debug branch. - - name: Checkout libfds library - master branch - if: github.ref == 'refs/heads/master' + - name: Checkout libfds library run: git clone --branch master https://github.com/CESNET/libfds.git libfds_build - - name: Checkout libfds library - devel branch - if: github.ref != 'refs/heads/master' - run: git clone --branch devel https://github.com/CESNET/libfds.git libfds_build - name: Build and install libfds library working-directory: libfds_build run: | diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 1e18e28c..3bcf5b57 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -160,12 +160,8 @@ jobs: - uses: actions/checkout@v2 # Build LIBFDS RPM package --------------------------------------------------------------- - - name: Checkout libfds library - master branch - if: github.ref == 'refs/heads/master' + - name: Checkout libfds library run: git clone --branch master https://github.com/CESNET/libfds.git build/libfds_repo - - name: Checkout libfds library - devel branch - if: github.ref != 'refs/heads/master' - run: git clone --branch devel https://github.com/CESNET/libfds.git build/libfds_repo - name: Build RPMs of libfds library and install it working-directory: 'build/libfds_repo' run: |