ft f4a3ba7303
All checks were successful
🚀 Pack skyscraper8 / make-zip (push) Successful in 1m27s
.gitea/workflows/demo.yaml aktualisiert
2025-10-09 12:22:26 +00:00

39 lines
1.3 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:
name: ${{ gitea.sha }}
md5sum: true
sha256sum: true
files: |-
${{ gitea.workspace }}/skyscraper8-${{ gitea.sha }}.zip