Files
HelloD/.gitea/workflows/pipeline.yaml
T
jali da7b5be64d
Build Hello World / Build (push) Successful in 3s
Fix the run number in the pipeline
2026-05-12 13:20:17 +02:00

28 lines
703 B
YAML

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@v1
with:
files: |-
build/hello
name: Release ${{ gitea.run_number }}.${{ gitea.run_attempt }}
tag_name: Release_${{ gitea.run_number }}.${{ gitea.run_attempt }}