Skip to content

feat: 增加elf文件和正确版本显示 #38

feat: 增加elf文件和正确版本显示

feat: 增加elf文件和正确版本显示 #38

Workflow file for this run

name: Build-Release
on:
push:
tags:
- "*"
jobs:
# build-docker:
# runs-on: ubuntu-latest
# steps:
# - name: Docker login
# uses: docker/login-action@v1
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_PASSWORD }}
# - name: Checkout repository
# uses: actions/checkout@v2
# - name: Build the Docker image
# run: docker build -f Dockerfile -t ${{ secrets.DOCKERHUB_USERNAME }}/ros2pio:humble .
# - name: Docker image push
# run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/ros2pio:humble
build-image:

Check failure on line 24 in .github/workflows/build_release.yml

View workflow run for this annotation

GitHub Actions / Build-Release

Invalid workflow file

The workflow is not valid. .github/workflows/build_release.yml (Line: 24, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs: build-docker
container: fishros2/ros2pio:humble
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build firmware
run: /bin/bash release.sh
- name: Compress .pio directory
run: |
cd .pio/libdeps/featheresp32/micro_ros_platformio/
zip -r libmicroros libmicroros
- name: Generate file list for bin directory
id: file_list
run: |
file_list=$(ls -1 bin/*)
echo "FILES=$file_list" >> $GITHUB_ENV
echo "REF_NAME=$GITHUB_REF_NAME" >> $GITHUB_ENV
- name: Create Release and Upload Release Asset
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
tag_name: ${{ github.ref }}
name: ${{ env.REF_NAME }}
body_path: release-notes.md
token: ${{ secrets.ACCESS_TOKEN }}
draft: false
prerelease: false
files: |
${{ env.FILES }}
.pio/libdeps/featheresp32/micro_ros_platformio/libmicroros.zip