From 3bc440409fc6a9a21afab506846b1ad1ffd32545 Mon Sep 17 00:00:00 2001 From: Blitblank Date: Sun, 22 Feb 2026 11:56:40 -0600 Subject: [PATCH] how do actions work lol --- .gitea/workflows/demo.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 36bbd59..8f99772 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -13,12 +13,9 @@ jobs: uses: actions/checkout@v3 - name: container-setup - run: | - echo "10.145.164.106 git.vxbard.net" >> /etc/hosts + run: echo "10.145.164.106 git.vxbard.net" >> /etc/hosts - name: build - run: echo "building..." - run: echo "10.145.164.106 git.vxbard.net" >> /etc/hosts run: g++ -o app main.cpp - name: upload @@ -34,14 +31,15 @@ jobs: needs: build steps: - name: container-setup - run: | - echo "10.145.164.106 git.vxbard.net" >> /etc/hosts + run: echo "10.145.164.106 git.vxbard.net" >> /etc/hosts - name: download uses: actions/download-artifact@v3 with: name: build-artifact - - name: execute + - name: make-executable run: chmod +x app + + - name: execute run: ./app