-
Notifications
You must be signed in to change notification settings - Fork 20
50 lines (44 loc) · 1.37 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: build
on:
push:
branches:
- main
- 'release-*'
tags:
- '*'
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: a2stuff/build-install-ca65-action@v2
- uses: a2stuff/build-install-cadius-action@v1
- name: build a2d - en
run: bin/setlang en && make && make package
- name: build a2d - fr
run: bin/setlang fr && make && make package
- name: build a2d - it
run: bin/setlang it && make && make package
- name: build a2d - es
run: bin/setlang es && make && make package
- name: build a2d - pt
run: bin/setlang pt && make && make package
- name: build a2d - de
run: bin/setlang de && make && make package
- name: build a2d - sv
run: bin/setlang sv && make && make package
- name: build a2d - da
run: bin/setlang da && make && make package
- name: build a2d - nl
run: bin/setlang nl && make && make package
- name: deploy new version
if: startsWith(github.ref, 'refs/tags/')
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: "out/*.zip,res/README.txt"
prerelease: true