File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -160,14 +160,6 @@ jobs:
160160 steps :
161161 - uses : actions/checkout@master
162162
163- - name : Set version suffix
164- run : |
165- if [[ "${{ github.ref_type }}" == "tag" ]]; then
166- echo "VERSION_SUFFIX=${{ github.ref_name }}" >> $GITHUB_ENV
167- else
168- echo "VERSION_SUFFIX=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
169- fi
170-
171163 - name : Download headers
172164 uses : actions/download-artifact@v4
173165 with :
@@ -178,6 +170,14 @@ jobs:
178170 with :
179171 install : gcc make curl zip
180172
173+ - name : Set version suffix
174+ run : |
175+ if [[ "${{ github.ref_type }}" == "tag" ]]; then
176+ echo "VERSION_SUFFIX=${{ github.ref_name }}" >> $GITHUB_ENV
177+ else
178+ echo "VERSION_SUFFIX=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
179+ fi
180+
181181 - name : Show GCC
182182 run : gcc -v
183183
You can’t perform that action at this time.
0 commit comments