diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index fd1b687..73d449b 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -65,4 +65,33 @@ jobs: Package: steps: + + - name: Setup directories + run: | + mkdir BeefDeb + mkdir BeefDeb/DEBIAN + mkdir BeefDeb/opt + mkdir BeefDeb/opt/BeefBuild + mkdir BeefDeb/usr + mkdir BeefDeb/usr/bin + + - name: Download artifact + uses: actions/download-artifact@v3 + with: + name: BeefBuild + path: BeefDeb/opt/BeefBuild + + - name: Create control file + run: | + cat > BeefDeb/DEBIAN/control << EOF + Package: beefbuild + Version: 0.43.4.20240909 + Section: Beef + Priority: optional + Architecture: amd64 + Homepage: https://www.beeflang.org/ + Maintainer: Booklordofthedings + Description: A compiler for beef. Use BeefBuild -help to get more information + EOF +