Skip to content

build(deps): bump tj-actions/changed-files from 42 to 43 #207

build(deps): bump tj-actions/changed-files from 42 to 43

build(deps): bump tj-actions/changed-files from 42 to 43 #207

Workflow file for this run

---
name: Build Pyromod
on:
push:
branches: [master]
tags: [v**]
pull_request:
branches: [master]
env:
MOD_NAME: community-maps-2
jobs:
build-pyromod:
if: ${{ github.ref_type != 'tag' }}
runs-on: ubuntu-latest
env:
MOD_VERSION: ${{ github.sha }}
steps:
- uses: actions/checkout@v4
- uses: 0ad-matters/gh-action-build-pyromod@v1
with:
name: ${{ env.MOD_NAME }}
version: ${{ env.MOD_VERSION }}
id: build-pyromod
- name: Upload Artifacts
# Uploads artifacts (combined into a zip file) to the workflow output page
uses: actions/upload-artifact@v4
with:
name: ${{ env.MOD_NAME }}-${{ env.MOD_VERSION }}
path: output/${{ env.MOD_NAME }}*.*
release-pyromod:
if: ${{ github.ref_type == 'tag' }}
runs-on: ubuntu-latest
env:
MOD_VERSION: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v4
- name: Massage Variables
run: |
echo "MOD_VERSION=${MOD_VERSION:1}" >> $GITHUB_ENV
- uses: 0ad-matters/gh-action-build-pyromod@v1
with:
name: ${{ env.MOD_NAME }}
version: ${{ env.MOD_VERSION }}
id: build-pyromod
- name: Create sha256sum
run: |
OUTPUT_FILE="$MOD_NAME-$MOD_VERSION.pyromod"
cd output
sha256sum $OUTPUT_FILE > $OUTPUT_FILE.sha256sum
- name: Release PyroMod
uses: ncipollo/release-action@v1
with:
allowUpdates: true
prerelease: false
artifacts: output/${{ env.MOD_NAME }}*.*
token: ${{ secrets.GITHUB_TOKEN }}
omitNameDuringUpdate: true
omitBodyDuringUpdate: true