We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1f9c30 commit f9a017bCopy full SHA for f9a017b
.github/workflows/parallel_build.yaml
@@ -85,11 +85,17 @@ jobs:
85
- name: Release framework-arduinoespressif32
86
uses: jason2866/[email protected]
87
with:
88
- tag_name: ${{ github.run_number }}
+ tag_name: ${{ steps.set_tag_name.outputs.tag_name }}
89
body_path: release-info.txt
90
prerelease: true
91
files: |
92
framework-arduinoespressif32-*.zip
93
release-info.txt
94
env:
95
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
96
+ - name: Set tag name
97
+ id: set_tag_name
98
+ run: |
99
+ IDF_VERSION=$(grep '^IDF_VERSION=' release-info.txt | cut -d'=' -f2 | cut -d'.' -f1,2 | tr -d '"')
100
+ DATE=$(date +"%d.%m")
101
+ echo "tag_name=IDF${IDF_VERSION}-${DATE}" >> $GITHUB_OUTPUT
0 commit comments