Skip to content

deps: SDK v0.10.38 — TinySignal CRD removed #88

deps: SDK v0.10.38 — TinySignal CRD removed

deps: SDK v0.10.38 — TinySignal CRD removed #88

Workflow file for this run

name: Build & publish module to the TinySystems
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v5
with:
go-version: '>=1.23.3'
- run: |
echo "Preparing a release"
echo "Module name ${{ github.event.repository.name }}"
# Remove local replace directives (used for local dev only)
sed -i '/replace github.com\/tiny-systems\/module =>/d' go.mod
go mod tidy
go run cmd/main.go tools build --version ${{github.ref_name}} --name github.com/${{ github.repository }} --devkey ${{secrets.TINY_DEV_SECRET}}
- name: Notify e2e
if: success()
env:
MODULE_NAME: ${{ github.event.repository.name }}
MODULE_VERSION: ${{ github.ref_name }}
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.E2E_DISPATCH_TOKEN }}
repository: tiny-systems/e2e
event-type: module-released
client-payload: '{"module":"${{ env.MODULE_NAME }}","version":"${{ env.MODULE_VERSION }}"}'