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