-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Using custom version generated from a previous step shows a warning #33
Comments
I've added a hotfix in master (26b90b1) that should resolve this. You'll need to use |
I'm using the actions like this using name: Tag
on:
push:
branches:
- main
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: get version from file
id: get-version
uses: jbutcher5/[email protected]
with:
file: "path-to/my-file.yaml"
key-path: '["key1", "key2"]'
- name: display get-version output
run: echo "${{ steps.get-version.outputs.data }}"
- name: push git tag
id: push-git-tag
uses: butlerlogic/action-autotag@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
version: "${{ steps.get-version.outputs.data }}" The tag (
|
I'm using this action like the following, which is the custom version way.
So I am reading a version from get-version step which reads it from a pom.xml file. I'm getting errors and a tag is not generated.
Warning:
Attempting to use package version extraction strategy.
Warning:
package.json does not exist at /github/workspace/package.json.
Warning:
Error: package.json does not exist at /github/workspace/package.json. at new Package (file:///app/lib/package.js:13:13) at run (file:///app/main.js:33:20) at file:///app/main.js:89:1 at ModuleJob.run (internal/modules/esm/module_job.js:110:37) at async Loader.import (internal/modules/esm/loader.js:179:24)
The text was updated successfully, but these errors were encountered: