workflow: publish opkg to portal
All checks were successful
/ build-and-publish (push) Successful in 2h15m35s
All checks were successful
/ build-and-publish (push) Successful in 2h15m35s
This commit is contained in:
parent
06be23b801
commit
ad3bf7d607
1 changed files with 10 additions and 0 deletions
|
@ -62,6 +62,16 @@ jobs:
|
|||
FORCE_UNSAFE_CONFIGURE=1 CONFIG_TARGET_ROOTFS_INITRAMFS=n make download -j$(nproc)
|
||||
FORCE_UNSAFE_CONFIGURE=1 CONFIG_TARGET_ROOTFS_INITRAMFS=n make world -j$(nproc)
|
||||
|
||||
- name: Publish Packages to Portal
|
||||
run: |
|
||||
difosDir='.'
|
||||
cd $difosDir
|
||||
folder_name=opkg-v$TAG_REF-$ENVIRONMENT
|
||||
mkdir -p $folder_name
|
||||
cp -rf ./bin/packages/aarch64_cortex-a53/* $folder_name/
|
||||
tar -czvf $folder_name.tar.gz $folder_name
|
||||
curl -X POST -H 'Content-Type: multipart/form-data' -F "file=@$folder_name.tar.gz" http://$PORTAL_ENDPOINT/software/upload/opkg/${{ env.PORTAL_API_KEY }}
|
||||
|
||||
- name: Publish Release
|
||||
run: |
|
||||
difosDir='.'
|
||||
|
|
Loading…
Reference in a new issue