Files
test/.gitea/workflows/build.yaml
paadi edc5462e61
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 52s
.gitea/workflows/build.yaml aktualisiert
2025-08-05 11:00:14 +02:00

36 lines
915 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 app .
- name: show golang
run: ls -a
- name: Upload binary as artifact
uses: actions/upload-artifact@v4
with:
name: go-binary
path: app