gfolf2/.gitea/workflows/publish.yaml

34 lines
822 B
YAML
Raw Normal View History

2025-01-11 01:50:15 +00:00
name: itch.io publish action
run-name: ${{ gitea.actor }} is publishing ${{ gitea.repository }} ${{ gitea.ref }} to itch.io.
on:
push:
branches:
- ci-test
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
env:
PNAME: ${{ gitea.event.repository.name }}
strategy:
matrix:
platform: [linux, mac, windows]
steps:
- name: Install Git LFS
run: apt update && apt install -y git-lfs && git-lfs install
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: true
- name: Build project
uses: yeslayla/build-godot-action@v1.5.0
with:
name: gfolf
preset: ${{ matrix.platform }}
debugMode: "true"
- name: Upload artifact
uses: actions/upload-artifact@v4