diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db46c27..138d2aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,8 @@ name: ci on: push: + branches: + - main pull_request: jobs: build: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ac6d468..f5808b0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,7 @@ on: push: tags: - '*' + pull_request: permissions: contents: write id-token: write @@ -49,7 +50,10 @@ jobs: with: distribution: goreleaser version: latest - args: release --rm-dist + args: release --rm-dist --snapshot --skip-sign env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COSIGN_EXPERIMENTAL: 1 + - run: | + aws sts get-caller-identity + aws s3 cp dist s3://rstudio-platform-public-artifacts/rskey/devel/ --recursive --exclude "*" --include "*.tar.gz" diff --git a/.goreleaser.yaml b/.goreleaser.yaml index ebe6a89..c3f2985 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -16,7 +16,10 @@ builds: mod_timestamp: '{{ .CommitTimestamp }}' tags: - netgo + targets: + - linux_amd64 - id: fips + skip: true binary: rskey-fips env: - CGO_ENABLED=1