Skip to content

Commit 72fdc91

Browse files
Add GitHub workflow
1 parent 12b4ae4 commit 72fdc91

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/main.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
tags: ['*']
7+
pull_request:
8+
branches: [ main ]
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: a2stuff/build-install-ca65-action@v1
18+
- uses: a2stuff/build-install-cadius-action@v1
19+
20+
- name: build
21+
env:
22+
TERM: xterm-256color
23+
run: >
24+
make && make package
25+
26+
- name: deploy new version
27+
if: startsWith(github.ref, 'refs/tags/')
28+
uses: ncipollo/[email protected]
29+
with:
30+
token: ${{ secrets.GITHUB_TOKEN }}
31+
artifacts: "out/intbasic.system.po,out/intbasic.system.2mg"

0 commit comments

Comments
 (0)