how do actions work lol
All checks were successful
Gitea Actions Demo / build (push) Successful in 3s
Gitea Actions Demo / execute (push) Successful in 2s

This commit is contained in:
2026-02-22 11:56:40 -06:00
parent 1260d86f42
commit 3bc440409f

View File

@@ -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