Skip to content

Create GitHub Release #25

Create GitHub Release

Create GitHub Release #25

name: Create GitHub Release
on:
push:
tags:
- "**"
workflow_dispatch:
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
with:
ref: ${{ github.ref }} # checkouts the branch that triggered the workflow
fetch-depth: 0
- name: Configure git
run: |
git config --local user.email [email protected]
git config --local user.name imodeljs-admin
- name: Create GitHub release
run: |
echo "Creating GitHub release for tag ${{ github.ref }}"
bash .github/workflows/scripts/create-release.sh ${{ github.ref }}
env:
GITHUB_TOKEN: ${{ secrets.IMJS_ADMIN_GH_TOKEN }}