ft 9be1ed8fee
All checks were successful
🚀 Pack skyscraper8 / make-zip (push) Successful in 1m26s
.gitea/workflows/demo.yaml aktualisiert
2025-10-09 12:07:15 +00:00

36 lines
1.2 KiB
YAML

name: 🚀 Pack skyscraper8
run-name: 👷 ${{ gitea.actor }} is building skyscraper8
on: [push]
jobs:
make-zip:
runs-on: self-hosted
steps:
- name: 📥 Check out repository code
uses: actions/checkout@v4
- name: 🛠️ Building the main assembly...
working-directory: ${{ gitea.workspace }}
run: |
dotnet build /p:EnableWindowsTargeting=true
- name: 📄 Typesetting the readme file...
working-directory: ${{ gitea.workspace }}/skyscraper8.Manual
run: |
pdflatex skyscraper8.Manual.tex
- name: 📦 Packing the main assembly...
working-directory: ${{ gitea.workspace }}/skyscraper8/bin/Debug/net8.0
run: |
7zz a ${{ gitea.workspace }}/skyscraper8-${{ gitea.sha }}.zip *
- name: 📚 Packing the manual...
working-directory: ${{ gitea.workspace }}/skyscraper8.Manual
run: |
7zz a ${{ gitea.workspace }}/skyscraper8-${{ gitea.sha }}.zip skyscraper8.Manual.pdf
- name: ☁️ Uploading the Package...
uses: akkuman/gitea-release-action@v1
with:
files: |-
${{ gitea.workspace }}/skyscraper8-${{ gitea.sha }}.zip