projman/.gitea/workflows/build.yml

18 lines
630 B
YAML
Raw Normal View History

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
2023-07-30 11:33:52 +03:00
on: [push]
2023-07-30 11:33:52 +03:00
jobs:
Explore-Gitea-Actions:
runs-on: tcl-tk-builder
2023-07-30 11:33:52 +03:00
steps:
- name: Build the packages
run: |
git clone ${{ vars.main_url }}${{ gitea.repository }}
pwd
cd projman/debian
./build-deb-projman.sh
cd ../../
curl --user ${{ vars.user}}:${{vars.api_token}} --upload-file "$(ls -1| grep projman | grep -E 'deb$')" ${{vars.main_url}}api/packages/${{vars.user}}/debian/pool/bookworm/main/upload
- run: echo "This job's status is ${{ job.status }}."