Skip to content

Fix CI issue to upload debians in release #33

Fix CI issue to upload debians in release

Fix CI issue to upload debians in release #33

Workflow file for this run

name: Build Debians
on:
push:
tags:
- 'v*'
jobs:
build_debians:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
path: psdk_ros2
- uses: actions/checkout@v4
with:
repository: dji-sdk/Payload-SDK
ref: 3.5
path: Payload-SDK
- name: ROS 2 Build Debian Package
id: build
run: |
mv psdk_ros2/debian/create_debians.sh .
sudo ./create_debians.sh
echo "INTERFACES_DEB=$(find *interfaces*.deb)" >> $GITHUB_ENV
echo "WRAPPER_DEB=$(find *wrapper*.deb)" >> $GITHUB_ENV
- uses: d1ceward/draft-assets-release-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |
${{ steps.build.outputs.INTERFACES_DEB }}
${{ steps.build.outputs.WRAPPER_DEB }}