how do actions work lol
This commit is contained in:
@@ -13,12 +13,9 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: container-setup
|
- name: container-setup
|
||||||
run: |
|
run: echo "10.145.164.106 git.vxbard.net" >> /etc/hosts
|
||||||
echo "10.145.164.106 git.vxbard.net" >> /etc/hosts
|
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: echo "building..."
|
|
||||||
run: echo "10.145.164.106 git.vxbard.net" >> /etc/hosts
|
|
||||||
run: g++ -o app main.cpp
|
run: g++ -o app main.cpp
|
||||||
|
|
||||||
- name: upload
|
- name: upload
|
||||||
@@ -34,14 +31,15 @@ jobs:
|
|||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- name: container-setup
|
- name: container-setup
|
||||||
run: |
|
run: echo "10.145.164.106 git.vxbard.net" >> /etc/hosts
|
||||||
echo "10.145.164.106 git.vxbard.net" >> /etc/hosts
|
|
||||||
|
|
||||||
- name: download
|
- name: download
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build-artifact
|
name: build-artifact
|
||||||
|
|
||||||
- name: execute
|
- name: make-executable
|
||||||
run: chmod +x app
|
run: chmod +x app
|
||||||
|
|
||||||
|
- name: execute
|
||||||
run: ./app
|
run: ./app
|
||||||
|
|||||||
Reference in New Issue
Block a user