From ba1c36ed16585033b84a5379ea395cb0d0677f5a Mon Sep 17 00:00:00 2001 From: hugoPonthieu Date: Sun, 8 Sep 2024 10:45:40 +0200 Subject: [PATCH 1/3] feat(ci):adding basic ci Signed-off-by: hugoPonthieu --- .github/workflows/release.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 00000000..9e7b74bb --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,20 @@ +name: Release Workflow + +on: + push: + branches: + - main + +jobs: + build: + runs-on: rust:1.81.0-slim + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Install rust deb + run: cargo install cargo-deb + + - name: Build agent project + run: cd agent && cargo deb From 32a794600b501dc00e8cabd8d14f34443b8d3d53 Mon Sep 17 00:00:00 2001 From: hugoPonthieu Date: Sun, 8 Sep 2024 10:50:07 +0200 Subject: [PATCH 2/3] feat(ci):changing branch Signed-off-by: hugoPonthieu --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9e7b74bb..4f0cbb9e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,7 +3,7 @@ name: Release Workflow on: push: branches: - - main + - feat/agent-to-deb jobs: build: From 37880a4646bbb7feac78d30e159d60933c6e47a1 Mon Sep 17 00:00:00 2001 From: hugoPonthieu Date: Sun, 8 Sep 2024 10:58:03 +0200 Subject: [PATCH 3/3] feat(ci):rust image Signed-off-by: hugoPonthieu --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4f0cbb9e..4866b289 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: rust:1.81.0-slim + runs-on: rust:1.67 steps: - name: Checkout code