Files
sandbox/.gitea/workflows/demo.yaml
Blitblank eff1bcf43c
Some checks failed
Gitea Actions Demo / build (push) Failing after 2s
Gitea Actions Demo / execute (push) Has been skipped
test again
2026-02-22 12:26:08 -06:00

45 lines
922 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
build:
runs-on: debian12
container:
image: git.vxbard.net/homeburger/bard-cpp-builder:1.0
steps:
- name: clone
uses: actions/checkout@v3
- name: container-setup
run: echo "test
- name: build
run: g++ -o app main.cpp
- name: upload
uses: actions/upload-artifact@v3
with:
name: build-artifact
path: app
execute:
runs-on: debian12
container:
image: git.vxbard.net/homeburger/bard-cpp-builder:1.0
needs: build
steps:
- name: container-setup
run: echo test"
- name: download
uses: actions/download-artifact@v3
with:
name: build-artifact
- name: make-executable
run: chmod +x app
- name: execute
run: ./app