mirror of
https://github.com/a2stuff/prodos-drivers.git
synced 2024-10-15 04:24:23 +00:00
32 lines
657 B
YAML
32 lines
657 B
YAML
name: build
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
tags: ['*']
|
|
pull_request:
|
|
branches: [ main ]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: a2stuff/build-install-ca65-action@v2
|
|
- uses: a2stuff/build-install-cadius-action@v1
|
|
|
|
- name: build
|
|
env:
|
|
TERM: xterm-256color
|
|
run: >
|
|
make && make package
|
|
|
|
- name: deploy new version
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
uses: ncipollo/release-action@v1.11.2
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
artifacts: "prodos-drivers.po"
|