diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml new file mode 100644 index 0000000..52a8a8f --- /dev/null +++ b/.gitea/workflows/pipeline.yaml @@ -0,0 +1,27 @@ +name: Build Hello World +run-name: ${{ gitea-actor }} is building "Hello, World!" +on: + push: + branches: + - 'main' + +jobs: + Build: + runs-on: archlinux-2026-amd64 + steps: + - name: Checking out the respository + uses: actions/checkout@v6 + - name: Building the executeable + run: | + mkdir -p build + cd build + dmd ../src/hello.d + cd .. + - name: Copy Release artifacts + uses: akkuman/gitea-release-action + with: + files: |- + build/hello + name: Release ${{ gitea.run-number }}.${{ gitea.run_attempt }} + tag_name: Release_${{ gitea.run-number }}.${{ gitea.run_attempt }} +