name: Build
run-name: Im about to BUILLLLDDDDDDD
on: [push]

jobs:
  Build:
    runs-on: ubuntu-latest
    steps:
      - run: echo '${{secrets.RELEASE_TOKEN}}' | xxd
      - name: Checkout repo
        uses: actions/checkout@v4
      - name: install rust
        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: https://gitea.com/actions/release-action@main
        with:
          files: |-
            main.rs
          api_key: '${{secrets.RELEASE_TOKEN}}'