File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change 20
20
21
21
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
22
22
jobs :
23
- # This workflow contains a single job called "build"
24
23
build :
25
- # The type of runner that the job will run on
26
24
runs-on : ubuntu-latest
25
+ strategy :
26
+ fail-fast : false
27
+ matrix :
28
+ image :
29
+ - " immortalwrt/imagebuilder:x86-64-openwrt-24.10.2"
30
+ - " immortalwrt/imagebuilder:x86-64-openwrt-23.05.4"
27
31
28
- # Steps represent a sequence of tasks that will be executed as part of the job
29
32
steps :
30
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
31
- - uses : actions/checkout@v4
33
+ - name : Checkout repository
34
+ uses : actions/checkout@v4
32
35
33
- # Runs a single command using the runners shell
34
- - name : Build image
36
+ - name : Setup environment
35
37
run : |
36
38
echo "PPPOE_USERNAME=123" >> modules/pppoe/.env
37
39
echo "PPPOE_PASSWORD=123" >> modules/pppoe/.env
40
42
echo "CONFIG_TARGET_KERNEL_PARTSIZE=16" > .env
41
43
echo "CONFIG_TARGET_ROOTFS_PARTSIZE=256" >> .env
42
44
echo "MODULES=openclash openclash-as-default" >> .env
43
- ./run.sh --image=immortalwrt/imagebuilder:x86-64-openwrt-24.10.2 --mirror=mirrors.cernet.edu.cn
44
- ./run.sh --image=immortalwrt/imagebuilder:x86-64-openwrt-23.05.4 --mirror=mirrors.cernet.edu.cn
45
+
46
+ - name : Build image ${{ matrix.image }}
47
+ run : |
48
+ ./run.sh --image=${{ matrix.image }} --mirror=mirrors.cernet.edu.cn
You can’t perform that action at this time.
0 commit comments