Skip to content

Create Release folder to archive with lha #20

Create Release folder to archive with lha

Create Release folder to archive with lha #20

Workflow file for this run

name: 📝 Make Build Check
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
run:
name: 📝 Make Build Check
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
# Check if latest commit changed a .c file
- name: 📝 Check if latest commit changed a .c file
id: check
run: |
if git diff-tree --no-commit-id --name-only -r ${{ github.sha }} | grep -qE '.c$'; then
echo "::set-output name=changed::true"
else
echo "::set-output name=changed::false"
fi
# Run make only if a .c file changed
- name: 🏃 Running Make
if: steps.check.outputs.changed == 'true'
run: make