Echo version tag before cd & echo env total

This commit is contained in:
Junwoo Hwang 2023-11-16 18:39:19 +09:00
parent 691015e461
commit b426e1e7c8
1 changed files with 8 additions and 2 deletions

View File

@ -25,13 +25,19 @@ jobs:
- name: parameter & events metadata - name: parameter & events metadata
run: | run: |
make px4_fmu-v5_default ver_gen events_json actuators_json make px4_fmu-v5_default ver_gen events_json actuators_json
echo "Version tag detected: "
echo $(./src/lib/version/get_git_tag_or_branch_version.sh build/px4_fmu-v5_default)
./src/lib/version/get_git_tag_or_branch_version.sh build/px4_fmu-v5_default >> $GITHUB_ENV ./src/lib/version/get_git_tag_or_branch_version.sh build/px4_fmu-v5_default >> $GITHUB_ENV
cd build/px4_fmu-v5_default cd build/px4_fmu-v5_default
mkdir _metadata || true mkdir _metadata || true
cp parameters.* events/*.xz actuators.json* _metadata cp parameters.* events/*.xz actuators.json* _metadata
echo "Github ENV:"
echo $GITHUB_ENV echo $GITHUB_ENV
echo "Low and behold\n" echo ${{env}}
echo $(./src/lib/version/get_git_tag_or_branch_version.sh build/px4_fmu-v5_default)
- uses: jakejarvis/s3-sync-action@master - uses: jakejarvis/s3-sync-action@master
with: with: