Skip to content

fix: guard against None response.text in GeminiProvider #6

fix: guard against None response.text in GeminiProvider

fix: guard against None response.text in GeminiProvider #6

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract version
id: version
run: |
echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
echo "REPO=${GITHUB_REPOSITORY,,}" >> $GITHUB_OUTPUT
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
push: true
tags: |
ghcr.io/${{ steps.version.outputs.REPO }}:${{ steps.version.outputs.VERSION }}
ghcr.io/${{ steps.version.outputs.REPO }}:latest
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: |
action.yml