File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1414jobs :
1515 pi-gen-aryaos :
1616 runs-on : ubuntu-latest
17+
1718 env :
1819 DISABLE_FIRST_BOOT_USER_RENAME : 1
1920 ENABLE_SSH : 1
20- steps :
21+
22+ steps :
2123 - name : Checkout code
2224 uses : actions/checkout@v2
2325
3941 - name : Set SHARED_FILES dir
4042 run : echo "SHARED_FILES=$(pwd)/shared_files" >> $GITHUB_ENV
4143
44+ - name : Show env
45+ run : env
46+
4247 - name : Build AryaOS image
4348 uses : usimd/pi-gen-action@v1
4449 id : build
8287 uses : actions/upload-artifact@v4
8388 with :
8489 name : pi-gen-image
85- path : ${{ steps.build.outputs.image-path }}
90+ path : ${{ steps.build.outputs.image-path }}
Original file line number Diff line number Diff line change 2020# SHARED_FILES=${SHARED_FILES:-../../shared_files}
2121
2222# ZeroTier
23- install -v -m 755 " shared_files/base/install_zt.sh" " ${ROOTFS_DIR} /usr/src/"
23+ echo " SHARED_FILES=${SHARED_FILES} "
24+ echo " env.SHARED_FILES=${env.SHARED_FILES} "
25+
26+ install -v -m 755 " ${SHARED_FILES:- shared_files} /base/install_zt.sh" " ${ROOTFS_DIR} /usr/src/"
Original file line number Diff line number Diff line change 1818
1919- name : Upload ZeroTier install script
2020 ansible.builtin.copy :
21- src : " shared_files /base/install_zt.sh"
21+ src : " ${SHARED_FILES} /base/install_zt.sh"
2222 dest : /usr/src
2323 mode : " 0755"
2424
You can’t perform that action at this time.
0 commit comments