Commit af7666c 1 parent 8431665 commit af7666c Copy full SHA for af7666c
File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 16
16
with :
17
17
fetch-depth : 0
18
18
path : meta-nao
19
+ - name : Extract the version
20
+ run : echo "version=$(grep -P 'DISTRO_VERSION\s*=\s*".+"' meta-hulks/conf/distro/HULKs-OS.conf | cut -d\" -f2)" >> $GITHUB_ENV
19
21
- name : Checkout Yocto layers
20
22
run : kas checkout meta-nao/kas/base.yml:meta-nao/kas/hulks.yml
21
23
- name : Populate aldebaran_binaries.tar.gz
@@ -28,13 +30,12 @@ jobs:
28
30
run : kas build --target nao-image --cmd populate_sdk meta-nao/kas/base.yml:meta-nao/kas/hulks.yml:meta-nao/kas/aarch64.yml
29
31
- name : Upload artifacts
30
32
uses : actions/upload-artifact@v4
31
- if : startsWith(github.ref, 'refs/tags/')
32
33
with :
33
34
name : all
34
35
path : |
35
- build/tmp/deploy/images/nao-v6/nao-image-HULKs-OS-${{ github.ref_name }}.ext3.gz.opn
36
- build/tmp/deploy/sdk/HULKs-OS-x86_64-toolchain-${{ github.ref_name }}.sh
37
- build/tmp/deploy/sdk/HULKs-OS-aarch64-toolchain-${{ github.ref_name }}.sh
36
+ build/tmp/deploy/images/nao-v6/nao-image-HULKs-OS-${{ env.version }}.ext3.gz.opn
37
+ build/tmp/deploy/sdk/HULKs-OS-x86_64-toolchain-${{ env.version }}.sh
38
+ build/tmp/deploy/sdk/HULKs-OS-aarch64-toolchain-${{ env.version }}.sh
38
39
release :
39
40
name : Release
40
41
if : startsWith(github.ref, 'refs/tags/')
You can’t perform that action at this time.
0 commit comments