-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flood of set-output
deprecation warnings
#758
Comments
@patriziobrunops is your workflow public? overwise can you post the part of the workflow starting with checkout up to the gittools actions? |
@arturcic, thanks for the fast follow up. Here's my workflow: name: Set Version
on:
workflow_call:
inputs:
targetPath:
type: string
description: Optionally supply the path to the working directory.
default: .
required: false
configFilePath:
type: string
description: Optional path to config file (defaults to GitVersion.yml).
default: GitVersion.yml
required: false
outputs:
sha:
value: ${{ jobs.setup-version.outputs.Sha }}
shortSha:
value: ${{ jobs.setup-version.outputs.ShortSha }}
semver:
value: ${{ jobs.setup-version.outputs.semVer }}
jobs:
setup-version:
runs-on: ubuntu-latest
outputs:
sha: ${{ steps.gitversion.outputs.Sha }}
shortSha: ${{ steps.gitversion.outputs.ShortSha }}
semVer: ${{ steps.gitversion.outputs.semVer }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: '5.x'
- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/[email protected]
with:
useConfigFile: true
targetPath: ${{ inputs.targetPath }}
configFilePath: ${{ inputs.configFilePath }} |
I also have the same behavior in my actions. Build output: https://github.com/porla/core/actions/runs/3347499683/jobs/5545550773 (check the Install GitVersion and Calculate version steps). Workflow: https://github.com/porla/core/blob/main/.github/workflows/ci.yaml |
@patriziobrunops, @vktr fixed in version 0.9.15, ca you confirm? |
@arturcic Confirmed - thanks! |
My workflow summaries are getting flooded by the above message, which is muddling the workflow summary making it difficult to read. I'm using
gittools actions
version0.9.14
, which seem to be using@actions/core v1.10.0
as indicated by the blog post 🤔The text was updated successfully, but these errors were encountered: