Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
outputs:
new_release_published: ${{ steps.semantic.outputs.new_release_published }}
new_release_git_tag: ${{ steps.semantic.outputs.new_release_git_tag }}
steps:
- name: Checkout
uses: actions/checkout@v7.0.1
Expand All @@ -20,7 +27,20 @@ jobs:
- name: Install
run: bun install

# A release created with GITHUB_TOKEN does not trigger publish.yaml, so the
# Lambda zip is built here and uploaded by @semantic-release/github, which
# lists proxy-lambda.zip as a release asset in .releaserc.yaml.
- name: Build
run: bun run build

- name: Inject Mozilla Cert Bundles
run: curl https://curl.se/ca/cacert.pem -o build/public-certs.pem

- name: Zip Lambda
run: bun run package

- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v8.1.4
env:
GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading