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

View file

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

View file

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

View file

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