@@ -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 }}
|
||||||
|
|
||||||
Reference in New Issue
Block a user