Skip to content

ci: bootstrapping .github folder #1

ci: bootstrapping .github folder

ci: bootstrapping .github folder #1

name: Release
on:
push:
branches:
- main
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
release_name: ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
steps:
- name: Create GitHub release
id: release
uses: GoogleCloudPlatform/release-please-action@v4
with:
token: ${{ secrets.BOT_TOKEN }}
Package-Release:
needs: release-please
runs-on: ubuntu-latest
if: ${{ needs.release-please.outputs.release_created }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
# TODO: create package and upload to GitHub