.gitea/workflows/build.yaml aktualisiert
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m16s

This commit is contained in:
2025-08-05 10:56:14 +02:00
parent 7f5274101e
commit 218044d1e6

View File

@@ -5,30 +5,32 @@ on: [push]
jobs: jobs:
Explore-Gitea-Actions: Explore-Gitea-Actions:
runs-on: ubuntu-latest runs-on: ubuntu-latest
#container:
# image: node:20
steps: steps:
- name: Set temp dir - name: Set temp dir
run: mkdir /tmp/git-temp && export GIT_TEMP_DIR=/tmp/git-temp run: mkdir /tmp/git-temp && export GIT_TEMP_DIR=/tmp/git-temp
- name: Clone repo - name: Clone repo
run: git clone https://gitea.tecamino.com/${{ gitea.repository }} run: git clone https://gitea.tecamino.com/${{ gitea.repository }}
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
token: ${{ secrets.GT_TOKEN }} token: ${{ secrets.GT_TOKEN }}
- name: build go
run: go build . - name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 'latest'
- name: Build Go project
run: |
go version
go build -v -o app .
- name: show golang - name: show golang
run: ls -a run: ls -a
- name: Show repo contents - name: Upload binary as artifact
run: ls -la uses: actions/upload-artifact@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." with:
- run: echo "🖥️ The workflow is now ready to test your code on the runner." name: go-binary
- name: List files in the repository path: app
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."