Updated soon to be deprecated actions to latest versions

This commit is contained in:
aristocratos 2024-06-24 17:53:14 +02:00
parent 18716e7362
commit e4f69cd728
4 changed files with 11 additions and 11 deletions

View file

@ -95,7 +95,7 @@ jobs:
run: git config --global --add safe.directory /__w/btop/btop
- name: Checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
@ -121,7 +121,7 @@ jobs:
cp bin/btop .artifacts/$FILENAME
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: btop-${{ matrix.toolchain }}
path: '.artifacts/**'

View file

@ -35,7 +35,7 @@ jobs:
with:
xcode-version: latest-stable
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
@ -46,7 +46,7 @@ jobs:
mv bin/btop bin/btop-x86_64-Monterey-$GIT_HASH
ls -alh bin
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: btop-x86_64-macos12-Monterey
path: 'bin/*'
@ -58,7 +58,7 @@ jobs:
with:
xcode-version: latest-stable
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
@ -69,7 +69,7 @@ jobs:
mv bin/btop bin/btop-x86_64-Ventura-$GIT_HASH
ls -alh bin
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: btop-x86_64-macos13-Ventura
path: 'bin/*'

View file

@ -50,7 +50,7 @@ jobs:
mv bin/btop bin/btop-GCC11-"$GIT_HASH"
ls -alh bin
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: btop-x86_64-openbsd-7.4
path: 'bin/*'

View file

@ -4,7 +4,7 @@ on:
push:
branches: [ main ]
tags-ignore:
- '*.*'
- '*.*'
paths:
- 'src/**'
- '!src/osx/**'
@ -21,16 +21,16 @@ on:
- 'include/**'
- 'Makefile'
- '.github/workflows/test-snap-can-build.yml'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: snapcore/action-build@v1
id: build