diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 05863e7..36bbd59 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -12,11 +12,14 @@ jobs: - name: clone uses: actions/checkout@v3 - - name: build + - name: container-setup run: | - echo "building..." echo "10.145.164.106 git.vxbard.net" >> /etc/hosts - g++ -o app main.cpp + + - name: build + run: echo "building..." + run: echo "10.145.164.106 git.vxbard.net" >> /etc/hosts + run: g++ -o app main.cpp - name: upload uses: actions/upload-artifact@v3 @@ -30,7 +33,7 @@ jobs: image: git.vxbard.net/homeburger/bard-cpp-builder:1.0 needs: build steps: - - name: dummy + - name: container-setup run: | echo "10.145.164.106 git.vxbard.net" >> /etc/hosts @@ -40,6 +43,5 @@ jobs: name: build-artifact - name: execute - run: | - chmod +x app - ./app + run: chmod +x app + run: ./app