Skip to content

Commit

Permalink
workflow: fix build notification output
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxaspec committed Nov 29, 2024
1 parent ae959a0 commit 9dc7899
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/firmware-module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ env:
TG_OPTIONS: -s
FORCE_UNSAFE_CONFIGURE: 1
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TG_DISABLED: true

jobs:
notify-begin:
Expand Down Expand Up @@ -165,7 +166,11 @@ jobs:
echo "GIT_HASH=${GIT_HASH}" >> ${GITHUB_ENV}
echo "GIT_BRANCH=${GIT_BRANCH}" >> ${GITHUB_ENV}
echo "TG_DISABLED=${{ github.event.inputs.tg_disabled || 'false' }}" >> $GITHUB_ENV
TAG_NAME="$TAG_NAME-$(date +'%Y-%m-%d')"
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV
echo "GIT_HASH=$(git rev-parse --short ${GITHUB_SHA})" >> $GITHUB_OUTPUT
echo "TAG_NAME=${TAG_NAME}" >> $GITHUB_OUTPUT
- name: Setup cache directories
run: |
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,6 @@ jobs:
echo "CURRENT_YEAR=$(date +%Y)" >> $GITHUB_ENV
echo "GIT_HASH=$(git rev-parse --short ${GITHUB_SHA})" >> $GITHUB_ENV
echo "GIT_BRANCH=${GITHUB_REF_NAME}" >> $GITHUB_ENV
echo "GIT_HASH=${GIT_HASH}" >> ${GITHUB_ENV}
echo "GIT_BRANCH=${GIT_BRANCH}" >> ${GITHUB_ENV}
echo "TG_DISABLED=${{ github.event.inputs.tg_disabled || 'false' }}" >> $GITHUB_ENV
TAG_NAME="$TAG_NAME-$(date +'%Y-%m-%d')"
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV
Expand Down

0 comments on commit 9dc7899

Please sign in to comment.