Skip to content

docs: add credits section to README (#19) #5

docs: add credits section to README (#19)

docs: add credits section to README (#19) #5

Workflow file for this run

name: publish
on:
push:
tags: ["**/v[0-9]+.[0-9]+.[0-9]+"]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Extract module name and version
id: extract
run: |
echo "module=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_OUTPUT
echo "version=$(echo $GITHUB_REF | cut -d / -f 4)" >> $GITHUB_OUTPUT
- name: Fail if module name is empty
run: |
if [ -z "${{ steps.extract.outputs.module }}" ]; then
echo "Module name is empty"
exit 1
fi
- name: Fail if version is empty
run: |
if [ -z "${{ steps.extract.outputs.version }}" ]; then
echo "Version is empty"
exit 1
fi
- name: Publish module with tagged version
uses: dagger/dagger-for-github@eba69b4dddb54eddfdb51a88eb7fd86957137630 # v5.4.0
with:
workdir: ${{ steps.extract.outputs.module }}
verb: publish
version: "0.11.2"