Skip to content

release

release #1

Workflow file for this run

name: release
on:
release:
types: [published]
jobs:
ci:
uses: ./.github/workflows/ci.yml

Check failure on line 9 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yml" -> "./.github/workflows/ci.yml" (source tag with sha:b3606d19d6edbf7b984551597d0bbf555c517a45) : workflow is not reusable as it is missing a `on.workflow_call` trigger
publish-artifacts:
needs: [ci]
runs-on: ubuntu-latest
steps:
- name: download-dist
uses: actions/download-artifact@v4
with:
name: dist
path: dist/
- name: create-artifacts
run: |
(cd dist && zip -r - .) >3dviewer-${{ github.ref_name }}.zip
mkdir -p dist/release
mv 3dviewer-${{ github.ref_name }}.zip dist/release/
md5sum dist/release/3dviewer-${{ github.ref_name }}.zip >dist/release/md5sum.txt
sha256sum dist/release/3dviewer-${{ github.ref_name }}.zip >dist/release/sha256sum.txt
- name: publish-artifacts
uses: fnkr/github-action-ghr@v1
env:
GHR_PATH: dist/release/
GHR_REPLACE: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}