mirror of
https://github.com/brain-hackers/buildbrain
synced 2026-11-12 13:52:34 +09:00
Replace deprecated set-output / save the brainux version into the vfat partition
This commit is contained in:
1 parent
6e16db7177
commit
ef5ab8903f
2 files changed
+7
-2
No files matched your search
@@ -259,11 +259,15 @@ jobs:
|
||||
run: make brainux
|
||||
- name: Build bsd-ce
|
||||
run: make -C nkbin_maker bsd-ce
|
||||
- name: Generate image name
|
||||
- name: Generate version string and image name
|
||||
id: image_name
|
||||
run: echo ::set-output name=name::sdimage-${GITHUB_REF/refs\/*s\//}
|
||||
run: |
|
||||
echo "name=sdimage-${GITHUB_REF/refs\/*s\//}" >> $GITHUB_OUTPUT
|
||||
echo "version=${GITHUB_REF/refs\/*s\//}" >> $GITHUB_OUTPUT
|
||||
- name: Build SD image
|
||||
run: make image/sd.img && mv image/sd.img ${{ steps.image_name.outputs.name }}.img
|
||||
env:
|
||||
BRAINUX_VERSION: ${{ steps.image_name.outputs.version }}
|
||||
- name: Compress
|
||||
run: zip ${{ steps.image_name.outputs.name }}.zip ${{ steps.image_name.outputs.name }}.img
|
||||
- name: Upload the image
|
||||
|
||||
Reference in new issue
Block a user