Skip to content

Update makecheck.yml #16

Update makecheck.yml

Update makecheck.yml #16

Workflow file for this run

name: 🧱 Build Release
on:
release:
types: [published]
# 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/
- name: 📁 Create Release folder
run:
cp -a /opt/code/build/. /opt/code/build/Mnemosyne-${{ github.event.release.tag_name }}

Check failure on line 24 in .github/workflows/buildRelease.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/buildRelease.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
cp /opt/code/images/drawer_3.0.info /opt/code/build/Mnemosyne-${{ github.event.release.tag_name }}.info
cd /opt/code/build/
- name: 📦 Create LHA archive
run: lha -aq2o6 Mnemosyne.lha Mnemosyne-${{ github.event.release.tag_name }}/ Mnemosyne-${{ github.event.release.tag_name }}.info
- name: 🚀Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./build/Mnemosyne.lha
asset_name: Mnemosyne.lha
asset_content_type: application/x-lzh-compressed