From aedae9757090abdb64a3e17d48e5cf9979c26d9d Mon Sep 17 00:00:00 2001 From: Clyde Johnston Date: Sun, 13 Aug 2023 22:05:07 +0000 Subject: [PATCH] Removed pull_request trigger and changed concurrency rule --- .github/workflows/test-and-release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index 864e76d..193d0d7 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -1,9 +1,9 @@ name: 'Test and Release Yakut' -on: [ push, pull_request ] +on: push -# Ensures that only one workflow is running at a time - required for duplicate pushes and repushing a PR +# Ensures that only one workflow is running at a time concurrency: - group: ${{ github.workflow }} + group: ${{ github.workflow_sha }} cancel-in-progress: true jobs: @@ -35,8 +35,11 @@ jobs: - name: Install dependencies run: | if [ "$RUNNER_OS" == "Linux" ]; then + uname -r sudo apt-get --ignore-missing update || true + sudo apt-get --ignore-missing upgrade || true sudo apt-get install -y linux-*-extra-$(uname -r) ncat + sudo apt-get install -y linux-modules-extra-5.15.0-1042-azure sudo apt-get install -y libsdl2-2.0-0 # For PySDL2. On Windows/macOS the binaries are pulled from PyPI. sudo apt-get install -y libasound2-dev # For RtMidi. fi