Add a distinction in names between Glass feeds #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Tapestry Connectors | |
on: | |
push: | |
tags: | |
- "*" | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Build Connectors | |
run: | | |
for dir in */; do | |
if [[ -f "$dir/plugin-config.json" ]]; then | |
dir_name="${dir%/}" | |
output_file="${dir_name}.tapestry" | |
(cd "$dir" && zip -qr "../$output_file" .) | |
fi | |
done | |
- name: Upload Connectors | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
tag="${GITHUB_REF#refs/tags/}" | |
gh release create "$tag" \ | |
--title="$tag" \ | |
--draft \ | |
*.tapestry |