Files
jali cc16ed8a27
Build Hello World / Build (push) Successful in 3s
Add Major and Minor version numbers
2026-05-12 13:25:15 +02:00

28 lines
775 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 ${{ vars.MAJOR }}.${{ vars.MINOR }}.${{ gitea.run_number }}.${{ gitea.run_attempt }}
tag_name: Release_${{ vars.MAJOR }}.${{ vars.MINOR }}.${{ gitea.run_number }}.${{ gitea.run_attempt }}