Skip to content

fix(vespa): update vespa package (#996) #94

fix(vespa): update vespa package (#996)

fix(vespa): update vespa package (#996) #94

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write # so semantic-release can push commits + tags
issues: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # semantic-release needs full history + tags
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
working-directory: ./server
run: bun install
# NEW STEP: Get GitHub App Token
- name: Get GitHub App Token
id: github-app-token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.XYNE_RELEASE_APP_ID }}
private_key: ${{ secrets.XYNE_RELEASE_APP_SECRET }}
installation_retrieval_mode: "repository"
installation_retrieval_payload: ${{ github.repository }}
- name: Run semantic-release
working-directory: ./server
env:
HUSKY: 0
# CHANGED: Use GitHub App token instead of default GITHUB_TOKEN
GITHUB_TOKEN: ${{ steps.github-app-token.outputs.token }}
GH_TOKEN: ${{ steps.github-app-token.outputs.token }}
run: bunx semantic-release --no-ci