Skip to content

1.0.0 - Initial release #1

1.0.0 - Initial release

1.0.0 - Initial release #1

Workflow file for this run

# GitHub Actions workflow to publish a new release of the mod by creating a release tag.
name: Publish mod release
# Only run on for published releases
on:
release:
types:
- published
jobs:
publish:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Validate mod metadata
# TODO: Change the action version back to @v2 when version 2.0.3 is released:
# TODO: https://github.com/TheBrutalX/Factorio-mod-uploader-action/issues/49
uses: TheBrutalX/factorio-mod-uploader-action@9b891b578c45318ded1509fd5e29fea4e871b735
with:
action: validate
- name: Package mod into zip file
uses: TheBrutalX/factorio-mod-uploader-action@9b891b578c45318ded1509fd5e29fea4e871b735
with:
action: compress
- name: Upload zip file as build artifact
uses: actions/upload-artifact@v4
with:
name: mod_package
path: ${{ env.ZIP_FILE }}
- name: Upload mod to Factorio mod portal
uses: TheBrutalX/factorio-mod-uploader-action@9b891b578c45318ded1509fd5e29fea4e871b735
with:
action: upload
factorio-api-key: ${{ secrets.FACTORIO_API_KEY }}