mirror of
https://github.com/brain-hackers/buildbrain
synced 2026-03-28 16:51:09 +09:00
Replace deprecated set-output / save the brainux version into the vfat partition
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -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