Skip to content

Commit f5e5fde

Browse files
authored
Add dependabot, and update actions and ubuntu version. (#8)
1 parent 01cbb17 commit f5e5fde

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions" # Necessary to update action hashs
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
# Allow up to 3 opened pull requests for github-actions versions
8+
open-pull-requests-limit: 3

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
run: |
3232
echo "PACKAGES=${{ github.event.inputs.packages }}" >> $GITHUB_ENV
3333
34-
- uses: uraimo/run-on-arch-action@v2
34+
- uses: uraimo/run-on-arch-action@v3
3535
name: Run commands
3636
id: runcmd
3737
with:
3838
arch: ${{ matrix.arch }}
39-
distro: ubuntu20.04
39+
distro: ubuntu22.04
4040

4141
# Not required, but speeds up builds by storing container images in
4242
# a GitHub package registry.
@@ -76,9 +76,9 @@ jobs:
7676
shopt -s extglob
7777
tar c -zf /artifacts/sysroot-${{ matrix.arch }}.tar.gz *(lib|include) usr/*(lib|include) usr/local/*(lib|include)
7878
79-
- uses: actions/upload-artifact@v3
79+
- uses: actions/upload-artifact@v4
8080
with:
81-
name: sysroot
81+
name: sysroot-${{ matrix.arch }}
8282
path: artifacts/sysroot-${{ matrix.arch }}.tar.gz
8383

8484
- name: Upload release artifacts
@@ -106,7 +106,7 @@ jobs:
106106
run: |
107107
echo "PACKAGES=${{ github.event.inputs.packages }}" >> $GITHUB_ENV
108108
109-
- uses: actions/checkout@v3
109+
- uses: actions/checkout@v4
110110

111111
- name: Build
112112
run: |
@@ -128,9 +128,9 @@ jobs:
128128
tar c -zf sysroot-raspbian.tar.gz *(lib|include) usr/*(lib|include)
129129
EOF
130130
131-
- uses: actions/upload-artifact@v3
131+
- uses: actions/upload-artifact@v4
132132
with:
133-
name: sysroot
133+
name: sysroot-raspbian
134134
path: sysroot-raspbian.tar.gz
135135

136136
- name: Upload release artifacts
@@ -178,9 +178,9 @@ jobs:
178178
arm-linux-gnueabi/libc/usr/*(lib|include)
179179
EOF
180180
181-
- uses: actions/upload-artifact@v3
181+
- uses: actions/upload-artifact@v4
182182
with:
183-
name: sysroot
183+
name: sysroot-arm-linux-gnueabi
184184
path: sysroot-arm-linux-gnueabi.tar.gz
185185

186186
- name: Upload release artifacts

0 commit comments

Comments
 (0)