AzureUndeadModpack/.forgejo/workflows/build.yaml

38 lines
954 B
YAML
Raw Normal View History

2024-03-21 14:50:54 -04:00
name: Build
on:
push:
branches:
- 'main'
pull_request:
jobs:
Export Files:
runs-on: docker
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Copy export files
run: |
mkdir -vp /export/atlauncher/.minecraft
cp -vrT ./build/atlauncher /export/atlauncher
cp -vp ./unsup.ini /export/atlauncher/.minecraft/
mkdir -vp /export/prism/.minecraft
cp -vrT ./build/prism /export/prism
cp -v ./unsup.ini /export/prism/.minecraft/
- name: Upload ATLauncher export artifact
uses: actions/upload-artifact@v3
with:
name: ATLauncher
path: /export/atlauncher/
continue-on-error: true
- name: Upload Prism Launcher export artifact
uses: actions/upload-artifact@v3
with:
name: PrismLauncher
path: /export/prism/