Skip to content
# Copyright 2022-2022 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: covector version or publish
on:
push:
jobs:
version-or-publish:
runs-on: ubuntu-latest
timeout-minutes: 65
outputs:
change: ${{ steps.covector.outputs.change }}
commandRan: ${{ steps.covector.outputs.commandRan }}
successfulPublish: ${{ steps.covector.outputs.successfulPublish }}
steps:
- uses: actions/checkout@v4
- name: git config
run: |
git config --global user.name "${{ github.event.pusher.name }}"
git config --global user.email "${{ github.event.pusher.email }}"
- name: covector version or publish (publish when no change files present)
uses: jbolda/covector/packages/action@covector-v0
id: covector
env:
NODE_AUTH_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
command: "publish"
createRelease: true
- name: Get result
run: echo '"${{steps.covector.outputs[''-org-dashed-pkg-releaseId'']}}"'

Check failure on line 37 in .github/workflows/covector-version-or-publish.yml

View workflow run for this annotation

GitHub Actions / covector version or publish

Invalid workflow file

The workflow is not valid. .github/workflows/covector-version-or-publish.yml (Line: 37, Col: 14): Unexpected symbol: '-org-dashed-pkg-releaseId'''. Located at position 26 within expression: steps.covector.outputs[''-org-dashed-pkg-releaseId'']