Files
test/.gitea/workflows/build.yaml
paadi a2c8841c00
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m5s
.gitea/workflows/build.yaml aktualisiert
2025-08-05 11:10:42 +02:00

34 lines
858 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: Set temp dir
run: mkdir /tmp/git-temp && export GIT_TEMP_DIR=/tmp/git-temp
- name: Clone repo
run: git clone https://gitea.tecamino.com/${{ gitea.repository }}
- name: Check out repository code
uses: actions/checkout@v4
with:
token: ${{ secrets.GT_TOKEN }}
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.24.5'
- name: Build Go project
run: |
go version
go build -v -o bin .
- name: Upload binary as artifact
uses: actions/upload-artifact@v3
with:
name: go-binary
path: bin