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