bug: log http response bodies in failed daemon calls #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main | |
concurrency: | |
group: main | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: | |
contents: write | |
packages: write | |
jobs: | |
release-main: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
cache: false | |
go-version: "1.23" | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v6 | |
with: | |
distribution: goreleaser | |
version: "~> v2" | |
args: release --clean --snapshot | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }} | |
- name: Upload to S3 | |
uses: jakejarvis/s3-sync-action@v0.5.1 | |
env: | |
SOURCE_DIR: releases | |
DEST_DIR: releases | |
AWS_REGION: ${{ secrets.R2_REGION }} | |
AWS_S3_BUCKET: ${{ secrets.R2_BUCKET }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_KEY }} | |
AWS_S3_ENDPOINT: ${{ secrets.R2_ENDPOINT_URL }} |