Skip to content

Publish

Publish #53

Workflow file for this run

name: Publish
on:
release:
types:
- published
workflow_dispatch:
inputs:
tag_name:
description: "Tag name"
required: true
type: string
jobs:
build:
uses: ./.github/workflows/build.yml
with:
tag_name: ${{ inputs.tag_name || github.event.release.tag_name }}
publish:
name: Publish
needs: build
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: artifacts
- name: Upload assets to release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Upload all files from the build job
echo "ls -R artifacts"
for file in artifacts/*; do
echo "Uploading $file"
#gh release upload ${{ inputs.tag_name || github.event.release.tag_name }} "artifacts/$file"
done