From d9a413f8ac55f6c394b5a0c86420b95257d0daee Mon Sep 17 00:00:00 2001 From: spv Date: Fri, 26 Jul 2024 12:28:55 +0200 Subject: [PATCH] bruh Signed-off-by: spv --- .gitea/workflows/build.yaml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 54b6b9d..c94c47c 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -3,7 +3,7 @@ run-name: Im about to BUILLLLDDDDDDD on: [push] jobs: - Build: + release: runs-on: ubuntu-latest steps: - run: echo '${{secrets.RELEASE_TOKEN}}' | base64 @@ -13,15 +13,10 @@ jobs: #run: apt update #- run: apt install cargo golang -y #- run: cargo build --release - - name: setup go - uses: https://github.com/actions/setup-go@v4 - with: - go-version: '>=1.20.1' - - name: Use Go Action - id: use-go-action - uses: actions/release-action@main + - name: Publish + uses: akkuman/gitea-release-action@v1 + env: + NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18 with: files: |- - main.rs - api_key: '${{secrets.RELEASE_TOKEN}}' - + ./main.rs