Skip to content

Commit

Permalink
wasm testing itch io --publish
Browse files Browse the repository at this point in the history
  • Loading branch information
lexi-the-cute committed Dec 1, 2024
1 parent c9218da commit 01436e0
Show file tree
Hide file tree
Showing 12 changed files with 40 additions and 299 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ jobs:
run: |
# Upload App
${{ github.workspace }}/tools/butler/butler push ${{ github.workspace }}/artifacts/android/catgirl-engine-fat.apk fomxgorl/catgirl-engine:android
${{ github.workspace }}/tools/butler/butler push ${{ github.workspace }}/artifacts/android/catgirl-engine-arm64.apk fomxgorl/catgirl-engine:android-arm64
${{ github.workspace }}/tools/butler/butler push ${{ github.workspace }}/artifacts/android/catgirl-engine-armeabi-v7a.apk fomxgorl/catgirl-engine:android-armeabi-v7a
${{ github.workspace }}/tools/butler/butler push ${{ github.workspace }}/artifacts/android/catgirl-engine-x86.apk fomxgorl/catgirl-engine:android-x86
${{ github.workspace }}/tools/butler/butler push ${{ github.workspace }}/artifacts/android/catgirl-engine-x86_64.apk fomxgorl/catgirl-engine:android-x86_64
# ${{ github.workspace }}/tools/butler/butler push ${{ github.workspace }}/artifacts/android/catgirl-engine-arm64.apk fomxgorl/catgirl-engine:android-arm64
# ${{ github.workspace }}/tools/butler/butler push ${{ github.workspace }}/artifacts/android/catgirl-engine-armeabi-v7a.apk fomxgorl/catgirl-engine:android-armeabi-v7a
# ${{ github.workspace }}/tools/butler/butler push ${{ github.workspace }}/artifacts/android/catgirl-engine-x86.apk fomxgorl/catgirl-engine:android-x86
# ${{ github.workspace }}/tools/butler/butler push ${{ github.workspace }}/artifacts/android/catgirl-engine-x86_64.apk fomxgorl/catgirl-engine:android-x86_64
255 changes: 0 additions & 255 deletions .github/workflows/build-linux-gnu-x86_64.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/build-linux-musl-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,20 +236,3 @@ jobs:
export DISPLAY_LABEL="Linux Server GLibc (x86_64)"
gh release upload v$VERSION "$ARTIFACT_PATH"#"$DISPLAY_LABEL" -R ${{ github.repository }}
# Install Butler (For Uploading to Itch.io)
- name: Install Butler (Upload to Itch.io)
run: |
# https://itch.io/docs/butler/pushing.html#channel-names
# Setup For Installation
mkdir -p ${{ github.workspace }}/tools/butler
# Install Butler
wget https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default -O ${{ github.workspace }}/butler-linux-amd64.zip
unzip ${{ github.workspace }}/butler-linux-amd64.zip -d ${{ github.workspace }}/tools/butler
# Publish to Itch.io
- name: 🎮 Publish to Itch.io
run: |
# Upload App
${{ github.workspace }}/tools/butler/butler push ${{ github.workspace }}/artifacts/CatgirlEngine-Server-Linux-x86_64-Musl.tar.xz fomxgorl/catgirl-engine:linux-musl-x86_64-server
17 changes: 15 additions & 2 deletions .github/workflows/build-wasm32-unknown-unknown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,19 @@ jobs:
gpg --sign checksums.sha512
# Compress Files
- name: Compress Files (Client/Server)
- name: Compress Files as Tar (Client/Server)
run: |
export XZ_OPT=-e9
cd ${{ github.workspace }}/upload/wasm
tar cvJf ${{ github.workspace }}/upload/CatgirlEngine-Wasm-32-bit-Web.tar.xz .
# Compress Files
- name: Compress Files as Zip (Client/Server)
run: |
cd ${{ github.workspace }}/upload/wasm
zip -r9 ${{ github.workspace }}/upload/CatgirlEngine-Wasm-32-bit-Web.zip .
# Upload Engine
- name: Upload Engine (Release)
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -228,6 +234,13 @@ jobs:
name: CatgirlEngine-Wasm-32-bit-Tar
path: ${{ github.workspace }}/artifacts/wasm-32-bit-web

# Download Engine
- name: Download Engine (Release)
uses: actions/download-artifact@v4
with:
name: CatgirlEngine-Wasm-32-bit-Zip
path: ${{ github.workspace }}/artifacts/wasm-32-bit-web-zip

# Create Tag and Github Release
- name: 👩‍💻 Create Tag and Github Release
run: |
Expand Down Expand Up @@ -281,4 +294,4 @@ jobs:
- name: 🎮 Publish to Itch.io
run: |
# Upload App
${{ github.workspace }}/tools/butler/butler push ${{ github.workspace }}/artifacts/wasm-32-bit-web/CatgirlEngine-Wasm-32-bit-Web.tar.xz fomxgorl/catgirl-engine:wasm-32-bit-web
${{ github.workspace }}/tools/butler/butler push ${{ github.workspace }}/artifacts/wasm-32-bit-web-zip/CatgirlEngine-Wasm-32-bit-Web.zip fomxgorl/catgirl-engine:wasm-32-bit-web
2 changes: 1 addition & 1 deletion .github/workflows/build-windows-gnu-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -319,4 +319,4 @@ jobs:
run: |
# Upload App
${{ github.workspace }}/tools/butler/butler push ${{ github.workspace }}/artifacts/CatgirlEngine-Windows-x86_64-GNU.tar.xz fomxgorl/catgirl-engine:windows-x86_64
${{ github.workspace }}/tools/butler/butler push ${{ github.workspace }}/artifacts/CatgirlEngine-Server-Windows-x86_64-GNU.tar.xz fomxgorl/catgirl-engine:windows-x86_64-server
# ${{ github.workspace }}/tools/butler/butler push ${{ github.workspace }}/artifacts/CatgirlEngine-Server-Windows-x86_64-GNU.tar.xz fomxgorl/catgirl-engine:windows-x86_64-server
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 01436e0

Please sign in to comment.