diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 9fd0b05..bc0ad49 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -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