This commit is contained in:
parent
2784dc682a
commit
91a3331003
2 changed files with 5 additions and 22 deletions
|
|
@ -1,16 +1,15 @@
|
||||||
when:
|
when:
|
||||||
- event: push
|
event: push
|
||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
build:
|
||||||
image: debian
|
image: debian
|
||||||
commands:
|
commands:
|
||||||
- echo "This is the build step"
|
- echo "This is the build step"
|
||||||
- echo "binary-data-123" > executable
|
- echo "binary-data-123" > executable
|
||||||
- name: a-test-step
|
a-test-step:
|
||||||
image: golang:1.16
|
image: golang:1.16
|
||||||
commands:
|
commands:
|
||||||
- echo "Testing ..."
|
- echo "Testing ..."
|
||||||
- ./executable
|
- ./executable
|
||||||
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
when:
|
|
||||||
- event: push
|
|
||||||
branch: main
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build
|
|
||||||
image: debian
|
|
||||||
commands:
|
|
||||||
- echo "This is the build step"
|
|
||||||
- echo "binary-data-123" > executable
|
|
||||||
- name: a-test-step
|
|
||||||
image: golang:1.16
|
|
||||||
commands:
|
|
||||||
- echo "Testing ..."
|
|
||||||
- ./executable
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue