diff --git a/.github/workflows/codemeta.yaml b/.github/workflows/codemeta.yaml index 62179671..c6b3a07f 100644 --- a/.github/workflows/codemeta.yaml +++ b/.github/workflows/codemeta.yaml @@ -44,3 +44,14 @@ jobs: name: codemeta.json - name: validate codemeta run: eossr-metadata-validator codemeta.json + publish: + needs: validate + runs-on: ubuntu-latest + if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') + steps: + - uses: actions/download-artifact@v3 + with: + name: codemeta.json + - uses: svenstaro/upload-release-action@v2 + with: + file: codemeta.json