Skip to content

Update testing.yml

Update testing.yml #10

Workflow file for this run

name: 🧱 Build Release
on:
push:
branches: [itchio-workflow]
workflow_dispatch:
# Add the LICENSE file to the release files
jobs:
release:
name: Upload Release Asset
runs-on: ubuntu-latest # linux required if you want to use docker
container:
image: walkero/docker4amigavbcc:latest-m68k
volumes:
- '${{ github.workspace }}:/opt/code'
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
- name: 🏃 Running Make
run: make
- name: ➡️ Move to build folder
run: |
cp Mnemosyne /opt/code/build/
cp LICENSE /opt/code/build/
- name: 📁 Create Release folder
run: |
mkdir /opt/code/Release/
cp -a /opt/code/build/. /opt/code/Release/Mnemosyne-1.0.0
cp /opt/code/images/drawer_3.0.info /opt/code/Release/Mnemosyne-1.0.0.info
- name: 📦 Create LHA archive
run: |
cd /opt/code/Release/
lha -aq2o6 Mnemosyne-1.0.0.lha Mnemosyne-1.0.0/ Mnemosyne-1.0.0.info
- name: 🎲 Uploading to Itch.io
uses: KikimoraGames/[email protected]
with:
butlerApiKey: ${{ secrets.BUTLER_API_KEY }}
buildChannel: LHA
itchGameId: Mnemosyne
itchUsername: arisamiga
buildNumber: 1.0.0
gameData: ${{ github.workspace }}/Release/Mnemosyne-1.0.0.lha
- name: 🗃️ Prepare Aminet Package
run: |
mkdir /opt/code/Release/Aminet-Release/
cp /opt/code/Release/Mnemosyne-1.0.0.lha /opt/code/Release/Aminet-Release/Mnemosyne.lha
cp /opt/code/aminet.readme /opt/code/Release/Aminet-Release/Mnemosyne.readme