Update GitHub Actions workflows

This change updates the GitHub Actions workflows of the repository to
use the latest actions where possible.
This commit is contained in:
Fabian Mastenbroek 2022-10-26 13:24:54 +02:00
parent 058e954557
commit cfab002223
No known key found for this signature in database
GPG key ID: 405FC6F81F0A7B85
4 changed files with 9 additions and 9 deletions

View file

@ -11,7 +11,7 @@ jobs:
- name: Clean Workspace
run: rm -rf *.deb *.ddeb *.build *.buildinfo *.changes
- name: Checkout Sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive
path: pve-edge-kernel
@ -24,7 +24,7 @@ jobs:
debian/rules debian/control
debuild -e CCACHE_DIR=/var/cache/ccache --prepend-path=/usr/lib/ccache --jobs=auto -b -uc -us
- name: Upload Artifacts
uses: actions/upload-artifact@v2-preview
uses: actions/upload-artifact@v3
with:
name: debs
path: "*.deb"

View file

@ -24,7 +24,7 @@ jobs:
- name: Clean Workspace
run: rm -rf *.deb *.ddeb *.build *.buildinfo *.changes
- name: Checkout Sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive
path: pve-edge-kernel
@ -44,7 +44,7 @@ jobs:
PVE_KERNEL_CFLAGS: ${{ matrix.build_cflags }}
PVE_ZFS_CC: ${{ matrix.build_cc }}
- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.debian }}-${{ matrix.build_profile }}
path: "*.deb"
@ -55,11 +55,11 @@ jobs:
needs: build
steps:
- name: Checkout Sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive
- name: Download Artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
path: artifacts
- name: Delete Debug Symbols

View file

@ -19,7 +19,7 @@ jobs:
runs-on: [ubuntu-latest]
steps:
- name: Checkout Sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup System Dependencies
@ -42,7 +42,7 @@ jobs:
echo "::set-output name=changelog::$changelog"
echo "::set-output name=branch::${GITHUB_REF##*/}"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.PAT }} # Custom token needed to recursively trigger workflows
author: Fabian Mastenbroek <mail.fabianm@gmail.com>

View file

@ -14,7 +14,7 @@ jobs:
branch: ['v6.0.x']
steps:
- name: Checkout Sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ matrix.branch }}
submodules: recursive