Skip to content

Commit 0e6266b

Browse files
Merge pull request cri-o#4652 from haircommander/gh-actions-2-1.20
[1.20] update github actions again
2 parents 62f21aa + b5b9a09 commit 0e6266b

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/integration.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
path: |
2020
~/go/pkg/mod
2121
~/.cache/go-build
22-
key: go-build-${{ hashFiles('**/go.sum') }}
22+
key: go-integration-${{ hashFiles('**/go.sum') }}
2323
restore-keys: go-integration-
2424
- run: scripts/github-actions-packages
2525
- run: scripts/github-actions-setup
@@ -41,7 +41,7 @@ jobs:
4141
path: |
4242
~/go/pkg/mod
4343
~/.cache/go-build
44-
key: go-build-${{ hashFiles('**/go.sum') }}
44+
key: go-integration-${{ hashFiles('**/go.sum') }}
4545
restore-keys: go-integration-
4646
- run: scripts/github-actions-packages
4747
- run: scripts/github-actions-setup
@@ -62,7 +62,7 @@ jobs:
6262
path: |
6363
~/go/pkg/mod
6464
~/.cache/go-build
65-
key: go-build-${{ hashFiles('**/go.sum') }}
65+
key: go-integration-${{ hashFiles('**/go.sum') }}
6666
restore-keys: go-integration-
6767
- run: scripts/github-actions-packages
6868
- run: scripts/github-actions-setup
@@ -86,7 +86,7 @@ jobs:
8686
path: |
8787
~/go/pkg/mod
8888
~/.cache/go-build
89-
key: go-build-${{ hashFiles('**/go.sum') }}
89+
key: go-integration-${{ hashFiles('**/go.sum') }}
9090
restore-keys: go-integration-
9191
- run: scripts/github-actions-packages
9292
- run: scripts/github-actions-setup

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ jobs:
232232
- run: make codecov
233233

234234
release-notes:
235-
if: github.ref == 'refs/heads/master'
235+
if: github.ref == 'refs/heads/master' || contains(github.ref, 'refs/heads/release')
236236
runs-on: ubuntu-latest
237237
steps:
238238
- uses: actions/checkout@v2
@@ -256,7 +256,7 @@ jobs:
256256
if-no-files-found: ignore
257257

258258
dependencies:
259-
if: github.ref == 'refs/heads/master'
259+
if: github.ref == 'refs/heads/master' || contains(github.ref, 'refs/heads/release')
260260
needs: release-notes
261261
runs-on: ubuntu-latest
262262
steps:

scripts/github-actions-packages

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ sudo apt install -y \
66
conntrack \
77
libaio-dev \
88
libapparmor-dev \
9+
libbtrfs-dev \
910
libcap-dev \
1011
libdevmapper-dev \
1112
libfuse-dev \

0 commit comments

Comments
 (0)