display all variables used
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m44s

This commit is contained in:
Pierre Geeraert
2025-11-06 15:32:52 +00:00
parent 15ca9820be
commit b2d96c56ec
+6 -3
View File
@@ -17,10 +17,13 @@ jobs:
run: | run: |
latest="${{ vars.VERSION }}" latest="${{ vars.VERSION }}"
next_version=$(echo "$latest" | awk -F. -v OFS=. '{$NF += 1 ; print}') next_version=$(echo "$latest" | awk -F. -v OFS=. '{$NF += 1 ; print}')
echo "Next version: $next_version"
echo "next_version=$next_version" >> $GITHUB_ENV echo "next_version=$next_version" >> $GITHUB_ENV
echo "${{ vars.EXECUTABLE_NAME }}" echo "Variables used :"
echo "${{ vars.RUNTIME }}" echo "------------------------------------------------"
echo "Next version: $next_version"
echo "EXECUTABLE_NAME: ${{ vars.EXECUTABLE_NAME }}"
echo "RUNTIME: ${{ vars.RUNTIME }}"
echo "TARGET_FRAMEWORK: ${{ vars.TARGET_FRAMEWORK }}"
- name: Setup dotnet - name: Setup dotnet
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v3
with: with: