Skip to content

Commit f054056

Browse files
committed
ci: update actions runtime compatibility
1 parent a077f50 commit f054056

4 files changed

Lines changed: 11 additions & 5 deletions

File tree

.github/actions/package-and-validate/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ runs:
4343
--target "${{ inputs.target }}"
4444
4545
- name: Upload bundle artifact
46-
uses: actions/upload-artifact@v4
46+
uses: actions/upload-artifact@v6
4747
with:
4848
name: dsview-cli-${{ inputs.version }}-${{ inputs.target }}
4949
path: dsview-cli-${{ inputs.version }}-${{ inputs.target }}.tar.gz

.github/actions/setup-native-prereqs/action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,13 @@ runs:
3737
if: startsWith(inputs.target, 'x86_64-apple-darwin') || startsWith(inputs.target, 'aarch64-apple-darwin')
3838
shell: bash
3939
run: |
40-
brew install cmake pkg-config glib libusb fftw
40+
for formula in cmake pkg-config glib libusb fftw; do
41+
if brew list --versions "$formula" >/dev/null 2>&1; then
42+
echo "$formula is already installed"
43+
else
44+
brew install "$formula"
45+
fi
46+
done
4147
4248
- name: Install Windows x86_64 dependencies
4349
if: inputs.target == 'x86_64-pc-windows-msvc'

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v6
3232
with:
3333
submodules: recursive
3434

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v6
3232
with:
3333
submodules: recursive
3434

@@ -100,7 +100,7 @@ jobs:
100100
run: echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
101101

102102
- name: Download all release bundles
103-
uses: actions/download-artifact@v4
103+
uses: actions/download-artifact@v8
104104
with:
105105
path: release-bundles
106106

0 commit comments

Comments
 (0)