Update Build.yml

This commit is contained in:
Nix 2024-12-31 11:23:29 -03:00 committed by GitHub
parent 0ac8a1bf51
commit b6241e7aad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,13 +43,13 @@ jobs:
echo "VERSION=$VERSION" >> $GITHUB_ENV # Store version in the environment variable
echo "NAME=$NAME" >> $GITHUB_ENV # Store name in the environment variable
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: actions-temp/build/2hsu.exe # Specify the path to the file to upload
- name: Tag release
run: |
VERSION_NAME="${VERSION} ${NAME}"
git tag -a "v${VERSION}" -m "Release ${VERSION_NAME}" # Tag the release with version number and name
git push origin "v${VERSION}" # Push the tag to GitHub
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: actions-temp/build/2hsu.exe # Specify the path to the file to upload