.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:
|
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 }}
|
||||||
|
|
||||||
@@ -24,13 +25,10 @@ jobs:
|
|||||||
- name: Build Go project
|
- name: Build Go project
|
||||||
run: |
|
run: |
|
||||||
go version
|
go version
|
||||||
go build -v -o app .
|
go build -v -o bin .
|
||||||
|
|
||||||
- name: show golang
|
|
||||||
run: ls -a
|
|
||||||
|
|
||||||
- name: Upload binary as artifact
|
- name: Upload binary as artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: go-binary
|
name: go-binary
|
||||||
path: app
|
path: bin
|
Reference in New Issue
Block a user