Skip to content

Commit 9dced77

Browse files
authored
fixe this shit
1 parent a825c66 commit 9dced77

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,31 @@ jobs:
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
16-
17-
- name: Install Haxe
18-
run: |
19-
sudo add-apt-repository ppa:haxe/releases -y
20-
sudo apt-get update
21-
sudo apt-get install haxe -y
22-
16+
with:
17+
submodules: true
18+
# we need full git history for article dates
19+
fetch-depth: 0
20+
21+
- name: Setup Haxe
22+
uses: krdlab/setup-haxe@v1
23+
with:
24+
haxe-version: 4.3.5
25+
2326
- name: Install Node.js and npm
2427
uses: actions/setup-node@v4
2528
with:
2629
node-version: '20'
2730
cache: 'npm'
2831

29-
- name: Install Haxe libraries
32+
- name: Install
33+
# at some point all npm needs to be in package.json
3034
run: |
31-
mkdir ~/haxelib && haxelib setup ~/haxelib
32-
haxelib install all
33-
34-
- name: Install npm dependencies
35-
run: npm install
35+
npm install
36+
npm install -g [email protected]
37+
npm install -g [email protected]
38+
haxelib install CodeCookBook-neko.hxml --always --quiet
39+
haxelib install highlighting.hxml --always --quiet
40+
haxelib list
3641
3742
- name: Make build.sh executable
3843
run: chmod +x build.sh

0 commit comments

Comments
 (0)