Skip to content

Commit

Permalink
feat: use auto-action for automatic mod deployment
Browse files Browse the repository at this point in the history
Publish to Factorio Mod Portal
  • Loading branch information
Alexander-Serov committed Dec 1, 2024
1 parent 31213eb commit 6942e5d
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/publish_to_factorio.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Publish Factorio Mod

on:
push:
tags:
- 'v*'

jobs:
publish-mod:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Validate Mod
uses: TheBrutalX/factorio-mod-uploader-action@v1
with:
action: validate

- name: Create zip
uses: TheBrutalX/factorio-mod-uploader-action@v1
with:
action: compress

- name: Upload Mod
uses: TheBrutalX/factorio-mod-uploader-action@v1
with:
action: upload
factorio-api-key: ${{ secrets.FACTORIO_API_KEY }}
10 changes: 10 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
---------------------------------------------------------------------------------------------------
Version: 19.6.0
Date: 2024-11-23
Improvements:
- Adjust auto-release rule.
---------------------------------------------------------------------------------------------------
Version: 19.5.0
Date: 2024-11-23
Improvements:
- Implement automatic mod deployment to Factorio mod portal.
---------------------------------------------------------------------------------------------------
Version: 19.4.0
Date: 2024-11-23
Improvements:
Expand Down
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Todo-List",
"version": "19.4.0",
"version": "19.6.0",
"title": "✔ Todo List",
"author": "Jason Miles and many others from the community",
"contact": "[email protected]",
Expand Down

0 comments on commit 6942e5d

Please sign in to comment.