Skip to content

Commit 935ee1b

Browse files
CI fixes
1 parent 43a2504 commit 935ee1b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/check-builds.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
jobs:
2121
ubuntu-build:
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-22.04
2323
steps:
2424
- name: Set environment
2525
run: echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV
@@ -112,7 +112,7 @@ jobs:
112112
path: bin
113113

114114
copy-artifacts:
115-
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
115+
if: github.event_name != 'pull_request' && (github.ref_type == 'tag' || github.ref_name == 'master')
116116
runs-on: ubuntu-latest
117117
needs: [windows-build, ubuntu-build]
118118
env:
@@ -121,7 +121,6 @@ jobs:
121121
steps:
122122
- uses: actions/checkout@v3
123123
with:
124-
submodules: recursive
125124
fetch-depth: 0
126125
- run: |
127126
GITDESC=$(git describe --tags)

0 commit comments

Comments
 (0)