Skip to content

Build release package #4

Build release package

Build release package #4

Workflow file for this run

name: Build release package
on:
workflow_dispatch:
inputs:
version:
description: 'Package version (x.x.x)'
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.ACTION_DISPATCH }}
repository: calaos/calaos-build
event-type: build_pkg
client-payload: '{"pkgname": "calaos-ddns", "repo": "calaos", "version": "${{ github.event.inputs.version }}", "commit": "${{ github.sha }}" }'
- name: Create Tag
uses: negz/create-tag@v1
with:
version: ${{ github.event.inputs.version }}
token: ${{ secrets.ACTION_DISPATCH }}