mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-20 08:05:33 +03:00
a9d2b97955
* Rework Bladebit artifact logic, CI cleanup * Fixing input indentation * Extra quote * Fix linting on windows, and OSX conditionals * Using bladebit suffix * removed extra quote * Fixed inputs name * adding blank option
21 lines
649 B
YAML
21 lines
649 B
YAML
# Starts a release for the given ref on the Glue API
|
|
name: Start Release
|
|
on:
|
|
workflow_dispatch:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
start_release:
|
|
name: Starts release process in Glue API
|
|
runs-on: [glue-notify]
|
|
steps:
|
|
- name: Set Env
|
|
uses: Chia-Network/actions/setjobenv@main
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Start release
|
|
if: "!github.event.release.prerelease"
|
|
run: |
|
|
curl -s -XPOST -H "Authorization: Bearer ${{ secrets.GLUE_ACCESS_TOKEN }}" --data '{"chia_ref": "$RELEASE_TAG"}' ${{ secrets.GLUE_API_URL }}/api/v1/$RFC_REPO/$RELEASE_TAG/start
|