Skip to content

Commit

Permalink
Run the release workflow on pull_request temporarily.
Browse files Browse the repository at this point in the history
  • Loading branch information
atheriel committed Apr 5, 2022
1 parent f418db0 commit fdd5eb9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: ci
on:
push:
branches:
- main
pull_request:
jobs:
build:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
tags:
- '*'
pull_request:
permissions:
contents: write
id-token: write
Expand Down Expand Up @@ -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"
3 changes: 3 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ builds:
mod_timestamp: '{{ .CommitTimestamp }}'
tags:
- netgo
targets:
- linux_amd64
- id: fips
skip: true
binary: rskey-fips
env:
- CGO_ENABLED=1
Expand Down

0 comments on commit fdd5eb9

Please sign in to comment.