Skip to content

Commit 26bfc35

Browse files
committed
Release 0.16.55 and first CI to mod portal test
1 parent 9633cdc commit 26bfc35

2 files changed

Lines changed: 33 additions & 1 deletion

File tree

.github/workflows/publish.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Publish to Mod Portal
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v[0-9]+.[0-9]+.[0-9]+' # Match version tags like 0.16.54
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '22'
19+
20+
- name: Install fmtk
21+
run: npm install -g factoriomod-debug
22+
23+
- name: Build package
24+
run: fmtk package
25+
26+
- name: Upload to Mod Portal
27+
env:
28+
FACTORIO_UPLOAD_API_KEY: ${{ secrets.FACTORIO_UPLOAD_API_KEY }}
29+
run: |
30+
MOD_NAME=$(jq -r .name info.json)
31+
MOD_VERSION=$(jq -r .version info.json)
32+
fmtk upload "${MOD_NAME}_${MOD_VERSION}.zip"

info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "FactorioAccess",
3-
"version": "0.16.54",
3+
"version": "0.16.55",
44
"title": "Factorio Access Mod",
55
"author": "Crimso, SirFendi, Gweneph, Austin Hicks",
66
"homepage": "https://github.com/Factorio-Access/FactorioAccess",

0 commit comments

Comments
 (0)