fix config.buildinfo path
This commit is contained in:
12
.github/workflows/build-module.yml
vendored
12
.github/workflows/build-module.yml
vendored
@@ -7,12 +7,12 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: "${{ matrix.tag }} - ${{ matrix.build_env.pkgarch}} :: ${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}} build"
|
name: "v${{ matrix.tag }} - ${{ matrix.build_env.pkgarch}} :: ${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}} build"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
#tag: ['v23.05.0', 'v23.05.2', 'v22.03.4']
|
#tag: ['v23.05.0', 'v23.05.2', 'v22.03.4']
|
||||||
tag: ['v23.05.0']
|
tag: ['23.05.0']
|
||||||
# tag: ['v22.03.4']
|
# tag: ['v22.03.4']
|
||||||
build_env:
|
build_env:
|
||||||
# - pkgarch: mips_24kc
|
# - pkgarch: mips_24kc
|
||||||
@@ -35,19 +35,19 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: openwrt/openwrt
|
repository: openwrt/openwrt
|
||||||
ref: ${{ matrix.tag }}
|
ref: v${{ matrix.tag }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Cache Tools and Kernel
|
- name: Cache Tools and Kernel
|
||||||
id: cache-tools-kernel
|
id: cache-tools-kernel
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
env:
|
env:
|
||||||
cache-name: "cache-tools-kernel-${{ matrix.tag }}-${{ matrix.build_env.pkgarch}}-${{ matrix.build_env.target}}-${{ matrix.build_env.subtarget}}"
|
cache-name: "cache-tools-kernel-v${{ matrix.tag }}-${{ matrix.build_env.pkgarch}}-${{ matrix.build_env.target}}-${{ matrix.build_env.subtarget}}"
|
||||||
with:
|
with:
|
||||||
path: .
|
path: .
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}
|
key: ${{ runner.os }}-build-${{ env.cache-name }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-build-cache-tools-kernel-${{ matrix.tag }}-${{ matrix.build_env.pkgarch}}-
|
${{ runner.os }}-build-cache-tools-kernel-v${{ matrix.tag }}-${{ matrix.build_env.pkgarch}}-
|
||||||
|
|
||||||
- name: Building kernel and tools
|
- name: Building kernel and tools
|
||||||
if: ${{ steps.cache-tools-kernel.outputs.cache-hit != 'true' }}
|
if: ${{ steps.cache-tools-kernel.outputs.cache-hit != 'true' }}
|
||||||
@@ -142,7 +142,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
tag_name=${{ github.ref_name }}
|
tag_name=${{ github.ref_name }}
|
||||||
mkdir -p awgrelease
|
mkdir -p awgrelease
|
||||||
postfix="${tag_name}_${{ matrix.tag }}_${{ matrix.build_env.pkgarch}}_${{ matrix.build_env.target}}_${{ matrix.build_env.subtarget}}"
|
postfix="${tag_name}_v${{ matrix.tag }}_${{ matrix.build_env.pkgarch}}_${{ matrix.build_env.target}}_${{ matrix.build_env.subtarget}}"
|
||||||
cp bin/packages/${{ matrix.build_env.pkgarch }}/awgopenwrt/amneziawg-tools_*.ipk awgrelease/amneziawg-tools_${postfix}.ipk
|
cp bin/packages/${{ matrix.build_env.pkgarch }}/awgopenwrt/amneziawg-tools_*.ipk awgrelease/amneziawg-tools_${postfix}.ipk
|
||||||
cp bin/packages/${{ matrix.build_env.pkgarch }}/awgopenwrt/luci-app-amneziawg_*.ipk awgrelease/luci-app-amneziawg_${postfix}.ipk
|
cp bin/packages/${{ matrix.build_env.pkgarch }}/awgopenwrt/luci-app-amneziawg_*.ipk awgrelease/luci-app-amneziawg_${postfix}.ipk
|
||||||
cp bin/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/packages/kmod-amneziawg_*.ipk awgrelease/kmod-amneziawg_${postfix}.ipk
|
cp bin/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/packages/kmod-amneziawg_*.ipk awgrelease/kmod-amneziawg_${postfix}.ipk
|
||||||
|
|||||||
Reference in New Issue
Block a user