Skip to content

"The Way of Fire" 2.2.2.2 #114

"The Way of Fire" 2.2.2.2

"The Way of Fire" 2.2.2.2 #114

Workflow file for this run

name: Build Release
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Configure and reload Docker daemon to allow for bigger shm
run: |
echo '{ "cgroup-parent": "/actions_job", "default-shm-size": "512M" }' | sudo tee /etc/docker/daemon.json && sudo systemctl reload docker
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
fetch-depth: 1
- name: Build release through PrepareForUpload.sh
run: |
devDir="equestria_dev"
destDir="equestria"
chmod +x ./PrepareForUpload.sh
./PrepareForUpload.sh $devDir $destDir equestria.jpg
mkdir build
mv ../$destDir build
mv ../"$destDir.mod" build
cd build
pwd
zip -rq "$destDir.zip" .
mv "$destDir.zip" ..
- name: Upload artifact
uses: actions/[email protected]
with:
name: equestria
path: equestria.zip
- name: Upload files to a GitHub release
uses: svenstaro/[email protected]
with:
file: equestria.zip
repo_token: ${{ secrets.GITHUB_TOKEN }}
overwrite: true
# - name: Upload to Steam Workshop
# if: success() || failure()
# uses: Yard1/PDX-Steam-Workshop-Publisher-Action@master
# with:
# steamLogin: Equestria_at_War
# steamPassword: ${{ secrets.STEAMPASSWORD }}
# PDXLogin: [email protected]
# PDXPassword: ${{ secrets.PDXPASSWORD }}
# POP3Address: ${{ secrets.POP3ADDRESS }}
# POP3User: ${{ secrets.POP3USER }}
# POP3Password: ${{ secrets.POP3PASSWORD }}
# modPath: "build"
# debugImagePath: images
# descriptionPath: tutorial/steam_description.txt
# - name: Upload artifact
# if: always()
# uses: actions/[email protected]
# with:
# name: debug_images
# path: images