Skip to content

Commit 0f01012

Browse files
authored
Merge pull request #1447 from kernelkit/refactor-actions
Move local GitHub actions to kernelkit/actions repo Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2 parents 5487344 + 63f46d4 commit 0f01012

9 files changed

Lines changed: 10 additions & 66 deletions

File tree

.github/actions/cache-restore/action.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/actions/podman-cleanup/action.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/build-boot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
6969
echo "Building ${defconfig}_defconfig, version ${version}-${rev}, artifact ${archive} ..."
7070
71-
- uses: ./.github/actions/cache-restore
71+
- uses: kernelkit/actions/cache-restore@v1
7272
with:
7373
target: ${{ matrix.defconfig }}
7474
dl-prefix: dl-boot

.github/workflows/build-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
clean: true
2929
submodules: recursive
3030

31-
- uses: ./.github/actions/podman-cleanup
31+
- uses: kernelkit/actions/podman-cleanup@v1
3232

3333
- name: Set Release Variables
3434
id: vars
@@ -40,7 +40,7 @@ jobs:
4040
echo "dir=infix-$target" >> $GITHUB_OUTPUT
4141
echo "tgz=infix-$target.tar.gz" >> $GITHUB_OUTPUT
4242
43-
- uses: ./.github/actions/cache-restore
43+
- uses: kernelkit/actions/cache-restore@v1
4444
with:
4545
target: ${{ matrix.target }}
4646
enabled: ${{ inputs.use_cache }}

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
submodules: recursive
9090
token: ${{ secrets.CHECKOUT_TOKEN || github.token }}
9191

92-
- uses: ./.github/actions/podman-cleanup
92+
- uses: kernelkit/actions/podman-cleanup@v1
9393

9494
- name: Run pre-build script
9595
if: ${{ inputs.pre_build_script != '' }}
@@ -120,7 +120,7 @@ jobs:
120120
echo "tgz=${name}-${target}.tar.gz" >> $GITHUB_OUTPUT
121121
echo "Building target ${target}_defconfig"
122122
123-
- uses: ./.github/actions/cache-restore
123+
- uses: kernelkit/actions/cache-restore@v1
124124
with:
125125
target: ${{ env.TARGET }}
126126

.github/workflows/inventory.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
runs-on: ubuntu-latest
4646
steps:
4747
- uses: actions/checkout@v4
48-
- uses: ./.github/actions/cache-restore
48+
- uses: kernelkit/actions/cache-restore@v1
4949
with:
5050
target: x86_64
5151
dl-prefix: dl-netconf

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
with:
5353
submodules: 'true'
5454

55-
- uses: ./.github/actions/podman-cleanup
55+
- uses: kernelkit/actions/podman-cleanup@v1
5656

5757
- name: Set Release Variables
5858
id: rel

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
submodules: recursive
7171
token: ${{ secrets.CHECKOUT_TOKEN || github.token }}
7272

73-
- uses: ./.github/actions/podman-cleanup
73+
- uses: kernelkit/actions/podman-cleanup@v1
7474

7575
- name: Run pre-test script
7676
if: ${{ inputs.pre_test_script != '' }}

.github/workflows/unit-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
submodules: recursive
8888
token: ${{ secrets.CHECKOUT_TOKEN || github.token }}
8989

90-
- uses: ./.github/actions/podman-cleanup
90+
- uses: kernelkit/actions/podman-cleanup@v1
9191

9292
- name: Run pre-build script
9393
if: ${{ inputs.pre_build_script != '' }}
@@ -98,7 +98,7 @@ jobs:
9898
chmod +x ./pre-build.sh
9999
bash ./pre-build.sh
100100
101-
- uses: ./.github/actions/cache-restore
101+
- uses: kernelkit/actions/cache-restore@v1
102102
with:
103103
target: ${{ env.TARGET }}
104104

0 commit comments

Comments
 (0)