.gitea/workflows/build.yaml aktualisiert
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m5s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m5s
This commit is contained in:
@@ -8,6 +8,7 @@ jobs:
|
||||
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 }}
|
||||
|
||||
@@ -24,13 +25,10 @@ jobs:
|
||||
- name: Build Go project
|
||||
run: |
|
||||
go version
|
||||
go build -v -o app .
|
||||
|
||||
- name: show golang
|
||||
run: ls -a
|
||||
go build -v -o bin .
|
||||
|
||||
- name: Upload binary as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: go-binary
|
||||
path: app
|
||||
path: bin
|
Reference in New Issue
Block a user