Skip to content

Commit

Permalink
changes to use new aws auth in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
puredanger committed Jul 31, 2023
1 parent f73276b commit 4a331fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [workflow_dispatch]

permissions: # Exchange the OIDC token (JWT) for a cloud access token
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
contents: write # This is required for actions/checkout

jobs:
build:
Expand Down Expand Up @@ -35,6 +35,8 @@ jobs:
git push
- name: Publish new stable version
run: aws s3 cp --only-show-errors "stable.properties" "$S3_BUCKET/install/stable.properties"
env:
S3_BUCKET: ${{ secrets.S3_BUCKET }}
- name: Change brew recipe in tap
run: |
echo "old $STABLE_VERSION"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
run: clojure -T:build release
- name: Upload release to site
run: script/publish.sh
env:
S3_BUCKET: ${{ secrets.S3_BUCKET }}
- name: Tag release
run: |
git tag -a `cat VERSION` -m `cat VERSION`
Expand Down

0 comments on commit 4a331fb

Please sign in to comment.