forked from DotBow/Blender-Launcher
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,13 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set env | ||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
- name: Setup Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.9' | ||
- name: GitHub Tag | ||
run: | | ||
echo "Tag name from github.ref_name: ${{ github.ref_name }}" | ||
- name: Build | ||
run: | | ||
echo "Venv setup" | ||
|
@@ -31,10 +32,10 @@ jobs: | |
.\build_win.bat | ||
- name: Zipping | ||
run: | | ||
echo "Zipping to Blender_Launcher_${{ env.RELEASE_VERSION }}_Windows_x64.zip" | ||
Compress-Archive -Path .\dist\release -DestinationPath Blender_Launcher_${{ env.RELEASE_VERSION }}_Windows_x64.zip | ||
echo "Zipping to Blender_Launcher_${{ github.ref_name }}_Windows_x64.zip" | ||
Compress-Archive -Path ".\dist\release\Blender Launcher.exe" -DestinationPath Blender_Launcher_${{ github.ref_name }}_Windows_x64.zip | ||
- name: Release | ||
uses: softprops/action-gh-release@v2 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: ./Blender_Launcher_${{ env.RELEASE_VERSION }}_Windows_x64.zip | ||
files: ./Blender_Launcher_${{ github.ref_name }}_Windows_x64.zip |