mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Set up itch.io deployment on the release workflow
This commit is contained in:
parent
9fb2d0ea3d
commit
69fcdf0f03
21
.github/workflows/release.yml
vendored
21
.github/workflows/release.yml
vendored
|
@ -8,7 +8,8 @@ env:
|
|||
GODOT_VERSION: 3.2.3
|
||||
GODOT_VERSION_MAC: 3.2.2
|
||||
EXPORT_NAME: Pixelorama
|
||||
TAG: v0.8.1
|
||||
TAG: v0.8.2
|
||||
BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }}
|
||||
|
||||
jobs:
|
||||
export-windows:
|
||||
|
@ -58,7 +59,7 @@ jobs:
|
|||
asset_name: ${{env.EXPORT_NAME}}[Windows-64bit].zip
|
||||
tag: ${{env.TAG}}
|
||||
overwrite: true
|
||||
- name: Upload 32-bit Release Asset
|
||||
- name: Upload 32-bit Release Asset 🚀
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -66,6 +67,10 @@ jobs:
|
|||
asset_name: ${{env.EXPORT_NAME}}[Windows-32bit].zip
|
||||
tag: ${{env.TAG}}
|
||||
overwrite: true
|
||||
- name: Upload Release Assets to itch.io 🎮
|
||||
run: |
|
||||
butler push ./build/windows-64bit ${{ secrets.ITCHIO_USERNAME }}/${{ secrets.ITCHIO_GAME }}:windows-64 --userversion ${{env.TAG}}
|
||||
butler push ./build/windows-32bit ${{ secrets.ITCHIO_USERNAME }}/${{ secrets.ITCHIO_GAME }}:windows-32 --userversion ${{env.TAG}}
|
||||
|
||||
export-linux:
|
||||
name: Linux Export 🐧
|
||||
|
@ -108,7 +113,7 @@ jobs:
|
|||
asset_name: ${{env.EXPORT_NAME}}[Linux-64bit].tar.gz
|
||||
tag: ${{env.TAG}}
|
||||
overwrite: true
|
||||
- name: Upload 32-bit Release Asset
|
||||
- name: Upload 32-bit Release Asset 🚀
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -116,6 +121,10 @@ jobs:
|
|||
asset_name: ${{env.EXPORT_NAME}}[Linux-32bit].tar.gz
|
||||
tag: ${{env.TAG}}
|
||||
overwrite: true
|
||||
- name: Upload Release Assets to itch.io 🎮
|
||||
run: |
|
||||
butler push ./build/linux-64bit.tar.gz ${{ secrets.ITCHIO_USERNAME }}/${{ secrets.ITCHIO_GAME }}:linux-64 --userversion ${{env.TAG}}
|
||||
butler push ./build/linux-32bit.tar.gz ${{ secrets.ITCHIO_USERNAME }}/${{ secrets.ITCHIO_GAME }}:linux-32 --userversion ${{env.TAG}}
|
||||
|
||||
export-mac:
|
||||
name: Mac Export 🍎
|
||||
|
@ -167,6 +176,9 @@ jobs:
|
|||
asset_name: ${{env.EXPORT_NAME}}[Mac].dmg
|
||||
tag: ${{env.TAG}}
|
||||
overwrite: true
|
||||
- name: Upload Release Assets to itch.io 🎮
|
||||
run: |
|
||||
butler push ./build/mac/Pixelorama.dmg ${{ secrets.ITCHIO_USERNAME }}/${{ secrets.ITCHIO_GAME }}:mac --userversion ${{env.TAG}}
|
||||
|
||||
export-web:
|
||||
name: Web Export 🌐
|
||||
|
@ -193,3 +205,6 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
BRANCH: gh-pages # The branch the action should deploy to.
|
||||
FOLDER: build/web # The folder the action should deploy.
|
||||
- name: Upload Release Assets to itch.io 🎮
|
||||
run: |
|
||||
butler push ./build/web ${{ secrets.ITCHIO_USERNAME }}/${{ secrets.ITCHIO_GAME }}:web --userversion ${{env.TAG}}
|
||||
|
|
|
@ -33,8 +33,8 @@ codesign/digest_algorithm=1
|
|||
codesign/description=""
|
||||
codesign/custom_options=PoolStringArray( )
|
||||
application/icon="res://assets/graphics/icons/icon.ico"
|
||||
application/file_version="0.8"
|
||||
application/product_version="0.8"
|
||||
application/file_version="0.8.2"
|
||||
application/product_version="0.8.2"
|
||||
application/company_name="Orama Interactive"
|
||||
application/product_name="Pixelorama"
|
||||
application/file_description="Pixelorama - Your free & open-source sprite editor"
|
||||
|
@ -90,8 +90,8 @@ application/info="Pixelorama - Your free and open-source sprite editor"
|
|||
application/icon="res://assets/graphics/icons/icon.icns"
|
||||
application/identifier="com.orama_interactive.pixelorama"
|
||||
application/signature=""
|
||||
application/short_version="0.8"
|
||||
application/version="0.8"
|
||||
application/short_version="0.8.2"
|
||||
application/version="0.8.2"
|
||||
application/copyright="Orama Interactive 2020"
|
||||
display/high_res=false
|
||||
privacy/camera_usage_description=""
|
||||
|
@ -158,8 +158,8 @@ codesign/digest_algorithm=1
|
|||
codesign/description=""
|
||||
codesign/custom_options=PoolStringArray( )
|
||||
application/icon="res://assets/graphics/icons/icon.ico"
|
||||
application/file_version="0.8"
|
||||
application/product_version="0.8"
|
||||
application/file_version="0.8.2"
|
||||
application/product_version="0.8.2"
|
||||
application/company_name="Orama Interactive"
|
||||
application/product_name="Pixelorama"
|
||||
application/file_description="Pixelorama - Your free & open-source sprite editor"
|
||||
|
|
Loading…
Reference in a new issue