2021-06-19 17:23:00 -07:00
|
|
|
name: build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
2021-07-23 08:56:14 -07:00
|
|
|
tags: ['*']
|
2021-06-19 17:23:00 -07:00
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2023-03-02 20:02:25 -08:00
|
|
|
- uses: a2stuff/build-install-ca65-action@v2
|
2021-07-23 09:13:39 -07:00
|
|
|
- uses: a2stuff/build-install-cadius-action@v1
|
2021-07-23 08:56:14 -07:00
|
|
|
|
2021-06-19 17:23:00 -07:00
|
|
|
- name: build
|
|
|
|
env:
|
|
|
|
TERM: xterm-256color
|
2021-07-23 08:56:14 -07:00
|
|
|
run: >
|
|
|
|
make && make package
|
|
|
|
|
|
|
|
- name: deploy new version
|
|
|
|
if: startsWith(github.ref, 'refs/tags/')
|
2022-11-29 18:39:05 -08:00
|
|
|
uses: ncipollo/release-action@v1.11.2
|
2021-07-23 08:56:14 -07:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
artifacts: "prodos-drivers.po"
|