mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 10:05:29 -05:00
* Make some CI conditional for forks Signed-off-by: wallentx <william.allentx@gmail.com> * fix conditional for build installers Signed-off-by: wallentx <william.allentx@gmail.com> * fix macos ARM and Linux ARM onnpre-commit Signed-off-by: wallentx <william.allentx@gmail.com> * Testing SSH signing * Remove conditional for checking signed commits * Use macos-15 instead of macos-latest, and use public gh linux arm * fix yaml array vs literal string --------- Signed-off-by: wallentx <william.allentx@gmail.com>
40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
# Starts a release for the given ref on the Glue API
|
|
name: Start Release
|
|
on:
|
|
workflow_dispatch:
|
|
release:
|
|
types: [published]
|
|
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
|
|
jobs:
|
|
start_release:
|
|
if: github.repository_owner == 'Chia-Network'
|
|
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 pre-release
|
|
uses: Chia-Network/actions/github/glue@main
|
|
if: "github.event.release.prerelease"
|
|
with:
|
|
json_data: '{"chia_ref": "${{ env.RELEASE_TAG }}"}'
|
|
glue_url: "${{ secrets.GLUE_API_URL }}"
|
|
glue_project: "${{ env.RFC_REPO }}-prerelease/${{ env.RELEASE_TAG }}"
|
|
glue_path: "start"
|
|
|
|
- name: Start release
|
|
uses: Chia-Network/actions/github/glue@main
|
|
if: "!github.event.release.prerelease"
|
|
with:
|
|
json_data: '{"chia_ref": "${{ env.RELEASE_TAG }}"}'
|
|
glue_url: "${{ secrets.GLUE_API_URL }}"
|
|
glue_project: "${{ env.RFC_REPO }}/${{ env.RELEASE_TAG }}"
|
|
glue_path: "start"
|