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