diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index 864e76d..da79064 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,6 +35,7 @@ jobs: - name: Install dependencies run: | if [ "$RUNNER_OS" == "Linux" ]; then + uname -r sudo apt-get --ignore-missing update || true sudo apt-get install -y linux-*-extra-$(uname -r) ncat sudo apt-get install -y libsdl2-2.0-0 # For PySDL2. On Windows/macOS the binaries are pulled from PyPI.