Skip to content

chore: update changelog with base64 changes #22

chore: update changelog with base64 changes

chore: update changelog with base64 changes #22

name: Publish Factorio Mod
on:
push:
tags:
- 'v*'
pull_request:
workflow_dispatch:
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
mod-folder: src
- name: Create zip
uses: TheBrutalX/factorio-mod-uploader-action@v1
with:
action: compress
mod-folder: src
- name: Upload ZIP as Artifact
uses: actions/upload-artifact@v3
with:
name: factorio-mod-zip
path: ${{ env.ZIP_FILE }}
- name: Upload Mod
if: startsWith(github.ref, 'refs/tags/v')
uses: TheBrutalX/factorio-mod-uploader-action@v1
with:
action: upload
factorio-api-key: ${{ secrets.FACTORIO_API_KEY }}