diff --git a/.github/workflows/automated-tests.yml b/.github/workflows/automated-tests.yml index e875511f3b..fb80d667cc 100644 --- a/.github/workflows/automated-tests.yml +++ b/.github/workflows/automated-tests.yml @@ -52,7 +52,7 @@ jobs: - package: bbb-playback-record build-list: bbb-playback bbb-playback-notes bbb-playback-podcast bbb-playback-presentation bbb-playback-screenshare bbb-playback-video bbb-record-core - package: bbb-etherpad - cache-files-list: bbb-etherpad.placeholder.sh build/packages-template/bbb-etherpad + cache-files-list: bbb-etherpad.placeholder.sh cache-urls-list: https://api.github.com/repos/mconf/ep_pad_ttl/commits https://api.github.com/repos/alangecker/bbb-etherpad-plugin/commits https://api.github.com/repos/mconf/ep_redis_publisher/commits https://api.github.com/repos/alangecker/bbb-etherpad-skin/commits - package: bbb-web cache-files-list: bigbluebutton-web bbb-common-message bbb-common-web @@ -63,11 +63,11 @@ jobs: cache-files-list: bigbluebutton-html5 - package: bbb-freeswitch build-list: bbb-freeswitch-core bbb-freeswitch-sounds - cache-files-list: freeswitch.placeholder.sh build/packages-template/bbb-freeswitch-core build/packages-template/bbb-freeswitch-sounds + cache-files-list: freeswitch.placeholder.sh cache-urls-list: http://bigbluebutton.org/downloads/sounds.tar.gz - package: bbb-webrtc build-list: bbb-webrtc-sfu bbb-webrtc-recorder - cache-files-list: bbb-webrtc-sfu.placeholder.sh bbb-webrtc-recorder.placeholder.sh build/packages-template/bbb-webrtc-sfu build/packages-template/bbb-webrtc-recorder + cache-files-list: bbb-webrtc-sfu.placeholder.sh bbb-webrtc-recorder.placeholder.sh - package: others build-list: bbb-mkclean bbb-pads bbb-libreoffice-docker bbb-transcription-controller bigbluebutton steps: @@ -76,7 +76,9 @@ jobs: uses: ./.github/actions/merge-branches - name: Set cache-key vars run: | - echo "CACHE_KEY_FILES=$(echo '${{ matrix.cache-files-list }} .gitlab-ci.yml build/deb-helper.sh' | xargs -n1 git log -1 --format=%h -- | tr '\n' '-' | sed 's/-$//')" >> $GITHUB_ENV + BUILD_DIRS="$(echo '${{ matrix.build-list || matrix.package }}' | sed 's/[^ ]\+/build\/packages-template\/&/g')" + echo "Including build dirs: $BUILD_DIRS" + echo "CACHE_KEY_FILES=$(echo '${{ matrix.cache-files-list }} '$BUILD_DIRS' .gitlab-ci.yml build/deb-helper.sh' | xargs -n1 git log -1 --format=%h -- | tr '\n' '-' | sed 's/-$//')" >> $GITHUB_ENV echo "CACHE_KEY_URLS=$(echo '${{ matrix.cache-urls-list }}' | xargs -r -n 1 curl -Is | grep -i 'Last-Modified' | md5sum | cut -c1-10)" >> $GITHUB_ENV cat bigbluebutton-config/bigbluebutton-release >> $GITHUB_ENV echo "FORCE_GIT_REV=0" >> $GITHUB_ENV #used by setup.sh