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:
parent
058e954557
commit
cfab002223
4 changed files with 9 additions and 9 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
||||||
- name: Clean Workspace
|
- name: Clean Workspace
|
||||||
run: rm -rf *.deb *.ddeb *.build *.buildinfo *.changes
|
run: rm -rf *.deb *.ddeb *.build *.buildinfo *.changes
|
||||||
- name: Checkout Sources
|
- name: Checkout Sources
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
path: pve-edge-kernel
|
path: pve-edge-kernel
|
||||||
|
@ -24,7 +24,7 @@ jobs:
|
||||||
debian/rules debian/control
|
debian/rules debian/control
|
||||||
debuild -e CCACHE_DIR=/var/cache/ccache --prepend-path=/usr/lib/ccache --jobs=auto -b -uc -us
|
debuild -e CCACHE_DIR=/var/cache/ccache --prepend-path=/usr/lib/ccache --jobs=auto -b -uc -us
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v2-preview
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: debs
|
name: debs
|
||||||
path: "*.deb"
|
path: "*.deb"
|
||||||
|
|
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
||||||
- name: Clean Workspace
|
- name: Clean Workspace
|
||||||
run: rm -rf *.deb *.ddeb *.build *.buildinfo *.changes
|
run: rm -rf *.deb *.ddeb *.build *.buildinfo *.changes
|
||||||
- name: Checkout Sources
|
- name: Checkout Sources
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
path: pve-edge-kernel
|
path: pve-edge-kernel
|
||||||
|
@ -44,7 +44,7 @@ jobs:
|
||||||
PVE_KERNEL_CFLAGS: ${{ matrix.build_cflags }}
|
PVE_KERNEL_CFLAGS: ${{ matrix.build_cflags }}
|
||||||
PVE_ZFS_CC: ${{ matrix.build_cc }}
|
PVE_ZFS_CC: ${{ matrix.build_cc }}
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.debian }}-${{ matrix.build_profile }}
|
name: ${{ matrix.debian }}-${{ matrix.build_profile }}
|
||||||
path: "*.deb"
|
path: "*.deb"
|
||||||
|
@ -55,11 +55,11 @@ jobs:
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Sources
|
- name: Checkout Sources
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Download Artifacts
|
- name: Download Artifacts
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: artifacts
|
path: artifacts
|
||||||
- name: Delete Debug Symbols
|
- name: Delete Debug Symbols
|
||||||
|
|
4
.github/workflows/update.yml
vendored
4
.github/workflows/update.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
runs-on: [ubuntu-latest]
|
runs-on: [ubuntu-latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Sources
|
- name: Checkout Sources
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Setup System Dependencies
|
- name: Setup System Dependencies
|
||||||
|
@ -42,7 +42,7 @@ jobs:
|
||||||
echo "::set-output name=changelog::$changelog"
|
echo "::set-output name=changelog::$changelog"
|
||||||
echo "::set-output name=branch::${GITHUB_REF##*/}"
|
echo "::set-output name=branch::${GITHUB_REF##*/}"
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.PAT }} # Custom token needed to recursively trigger workflows
|
token: ${{ secrets.PAT }} # Custom token needed to recursively trigger workflows
|
||||||
author: Fabian Mastenbroek <mail.fabianm@gmail.com>
|
author: Fabian Mastenbroek <mail.fabianm@gmail.com>
|
||||||
|
|
2
.github/workflows/watch.yml
vendored
2
.github/workflows/watch.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
||||||
branch: ['v6.0.x']
|
branch: ['v6.0.x']
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Sources
|
- name: Checkout Sources
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ matrix.branch }}
|
ref: ${{ matrix.branch }}
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
Loading…
Reference in a new issue