name: Build & Release binary on: push: branches: - main schedule: # 00:00 on the 1st of every month - cron: '0 0 1 * *' workflow_dispatch: jobs: build: runs-on: docker-compose steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - name: Build Linux binary (docker) run: docker compose run --build --rm release-httptoolkit - name: Create Gitea release & upload assets env: GITEA_SERVER_URL: ${{ gitea.server_url }} GITEA_REPOSITORY: ${{ gitea.repository }} PAT_GITEA: ${{ secrets.PAT_GITEA }} run: bash release.sh