Skip to content

Commit c51738a

Browse files
committed
fix: rename release asset for backwards compatibility
1 parent e619536 commit c51738a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,31 +40,31 @@ jobs:
4040
python-version: '>=3.11'
4141

4242
- name: Create build directory
43-
run: mkdir -p build/casual-pre-loader
43+
run: mkdir -p build/casual-preloader
4444

4545
- name: Download embeddable Python
4646
run: |
4747
curl -L -o python.zip https://www.python.org/ftp/python/3.12.8/python-3.12.8-embed-amd64.zip
48-
unzip python.zip -d build/casual-pre-loader/
48+
unzip python.zip -d build/casual-preloader/
4949
# Add site-packages to path for embeddable Python
50-
printf 'python312.zip\n.\nLib\nLib\\site-packages\n' > build/casual-pre-loader/python312._pth
50+
printf 'python312.zip\n.\nLib\nLib\\site-packages\n' > build/casual-preloader/python312._pth
5151
52-
curl -L -o build/casual-pre-loader/pip.pyz https://bootstrap.pypa.io/pip/pip.pyz
52+
curl -L -o build/casual-preloader/pip.pyz https://bootstrap.pypa.io/pip/pip.pyz
5353
5454
- name: Build application
5555
run: |
56-
python scripts/build.py --target_dir build/casual-pre-loader <<< "y"
56+
python scripts/build.py --target_dir build/casual-preloader <<< "y"
5757
find build -name '__pycache__' -exec rm -rf '{}' \; -prune
5858
cp scripts/RUNME.bat build/
5959
6060
- name: Create release archive
61-
run: cd build && zip -r "../casual-pre-loader-${{ github.ref_name }}.zip" .
61+
run: cd build && zip -r "../casual-preloader-${{ github.ref_name }}.zip" .
6262

6363
- name: Upload artifact
6464
uses: actions/upload-artifact@v4
6565
if: env.ACT != 'true'
6666
with:
67-
name: "casual-pre-loader-${{ github.ref_name }}"
67+
name: "casual-preloader-${{ github.ref_name }}"
6868
path: build
6969
if-no-files-found: error
7070
compression-level: 9
@@ -82,6 +82,6 @@ jobs:
8282
if: env.ACT != 'true'
8383
uses: softprops/action-gh-release@v2
8484
with:
85-
files: "casual-pre-loader-${{ github.ref_name }}.zip"
85+
files: "casual-preloader-${{ github.ref_name }}.zip"
8686
draft: ${{ inputs.draft == '' && true || inputs.draft }}
8787
generate_release_notes: ${{ inputs.generate-release-notes }}

0 commit comments

Comments
 (0)