diff --git a/.github/workflows/OrangeFox-Compile.yml b/.github/workflows/OrangeFox-Compile.yml index 0c852fb..50d7be6 100644 --- a/.github/workflows/OrangeFox-Compile.yml +++ b/.github/workflows/OrangeFox-Compile.yml @@ -87,6 +87,8 @@ jobs: run: | cd ${GITHUB_WORKSPACE}/OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }} git clone ${{ github.event.inputs.DEVICE_TREE }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.DEVICE_PATH }} + cd ${{ github.event.inputs.DEVICE_PATH }} + echo "COMMIT_ID=$(git rev-parse HEAD)" >> $GITHUB_ENV - name: Check Manifest Branch uses: haya14busa/action-cond@v1 @@ -133,5 +135,6 @@ jobs: name: Unofficial OrangeFox for ${{ github.event.inputs.DEVICE_NAME }} // ${{ env.BUILD_DATE }} tag_name: ${{ github.run_id }} body: | - Build: fox_${{ github.event.inputs.MANIFEST_BRANCH }} - Device: ${{ github.event.inputs.DEVICE_TREE }}/tree/${{ github.event.inputs.DEVICE_TREE_BRANCH }} + Build: ${{ github.event.inputs.MANIFEST_BRANCH }} + Device: [Device Tree/Branch](${{ github.event.inputs.DEVICE_TREE }}/tree/${{ github.event.inputs.DEVICE_TREE_BRANCH }}) + Commit: Most recent [commit](${{ github.event.inputs.DEVICE_TREE }}/commit/${{ env.COMMIT_ID }}) during building.