chore: update changelog with base64 changes #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |