Skip to content

Commit

Permalink
Fix release naming
Browse files Browse the repository at this point in the history
  • Loading branch information
xBaank committed Aug 28, 2024
1 parent ee90fcc commit a3baa37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ jobs:
run: |
FILE=$(find ./Console/output -type f -name 'Console*')
if [ -f "$FILE" ]; then
mv "$FILE" "./Console/output/Console-${{ matrix.rid }}}"
EXTENSION="${FILE##*.}" # Extract the file extension
mv "$FILE" "./Console/output/Console-${{ matrix.rid }}.$EXTENSION" # Rename while preserving extension
fi
- name: Upload Artifact
Expand All @@ -104,6 +105,6 @@ jobs:
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./Console/output/Console*
files: ./Console/output


0 comments on commit a3baa37

Please sign in to comment.