Skip to content

Fix: disable observable cache (#320) #12

Fix: disable observable cache (#320)

Fix: disable observable cache (#320) #12

Workflow file for this run

name: Generate API
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Get latest tag
id: get_tag
run: echo "LATEST_TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
- name: Set output
id: set_output
run: echo "::set-output name=tag::${{ env.LATEST_TAG }}"
- name: Request to API wrapper
run: |
curl -X POST \
-d '{ "event_type": "tag_created", "client_payload": { "tag": "${{ steps.set_output.outputs.tag }}"}}' \
-H "Content-Type: application/json" \
-H "Authorization: token ${{ secrets.PAT }}" \
https://api.github.com/repos/celenium-io/celenium-api-go/dispatches