diff --git a/.github/workflows/check-builds.yaml b/.github/workflows/check-builds.yaml index 9e1b287..edd544b 100644 --- a/.github/workflows/check-builds.yaml +++ b/.github/workflows/check-builds.yaml @@ -19,7 +19,7 @@ on: jobs: ubuntu-build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Set environment run: echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV @@ -112,7 +112,7 @@ jobs: path: bin copy-artifacts: - if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master' + if: github.event_name != 'pull_request' && (github.ref_type == 'tag' || github.ref_name == 'master') runs-on: ubuntu-latest needs: [windows-build, ubuntu-build] env: @@ -121,7 +121,6 @@ jobs: steps: - uses: actions/checkout@v3 with: - submodules: recursive fetch-depth: 0 - run: | GITDESC=$(git describe --tags)