Closed bcmhercun closed 4 months ago
Hi.
You can build this action yourself. This is how CI does it:
For your purpose:
steps:
- uses: actions/checkout@v4
with:
repository: 'jurplel/install-qt-action'
ref: 'a7683763fa44598d9faf6157a27632def618ad42'
path: 'install-qt-action'
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: install-qt-action/action/
- name: Build jurplel/install-qt-action
run: |
cd install-qt-action/action/
npm ci || npm install
npm run build
shell: bash
- name: Install Qt
uses: install-qt-action/
with:
modules: ...
version: ...
tools: ...
cache: ...
Append your own steps then everything should be OK.
@pzhlkj6612
It is not pointing to the line where error is occurring.
I'm assuming it is about
uses: install-qt-action/
EDITED:
uses: ./install-qt-action/action/
fixed the issue (kinda obvious but I missed it at first glance :D
I'm assuming it is about
uses: install-qt-action/
EDITED:
uses: ./install-qt-action/action/
fixed the issue
My bad, you're right.
Does your own built action function normally?
I'm assuming it is about
uses: install-qt-action/
EDITED:uses: ./install-qt-action/action/
fixed the issueMy bad, you're right.
Does your own built action function normally?
@pzhlkj6612 Yes, after this change in uses:
it works well ;)
@pzhlkj6612 unfortunately another deprecation warning has occured:
In this step:
- name: Install Qt
uses: ./install-qt-action/action/
with:
version: 6.2.4
dir: ${{ env.QT_INSTALL_DIR }}
cache: true
There's no direct call to set-output
. Does anybody have idea how to trace it?
@pzhlkj6612 unfortunately another deprecation warning has occured:
In this step:
- name: Install Qt uses: ./install-qt-action/action/ with: version: 6.2.4 dir: ${{ env.QT_INSTALL_DIR }} cache: true
There's no direct call to
set-output
. Does anybody have idea how to trace it?
For that I think this repos just needs to update @actions/core
to at least 1.10.0 (See https://github.com/jurplel/install-qt-action/blob/master/action/package.json and https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - Preferable 1.10.1 since that currently is latest
For that I think this repos just needs to update
@actions/core
to at least 1.10.0 (See https://github.com/jurplel/install-qt-action/blob/master/action/package.json and https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - Preferable 1.10.1 since that currently is latest
@Wissididom , I think you are right.
1.10.0
saveState
andsetOutput
now use environment files if available #1178getMultilineInput
now correctly trims whitespace by default #1185
@jurplel maybe we need to update the dependency.
I'll make a release
I am having some test failures on the v3
branch. I need to find time to debug it before I can make a release
@jurplel this also needs to be updated to 4.0.0 https://github.com/jurplel/install-qt-action/blob/74ca8cd6681420fc8894aed264644c7a76d7c8cb/action/package.json#L19
this also needs to be updated to 4.0.0
I don't think so. According to https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md and https://www.npmjs.com/package/@actions/cache 3.2.4 is the latest version.
I think it needs to be updated to at least 3.0.5 tho since that's what they write in their CHANGELOG.md for that version:
Update `@actions/cache` to use `@actions/core@^1.10.0`
this also needs to be updated to 4.0.0 https://github.com/jurplel/install-qt-action/blob/74ca8cd6681420fc8894aed264644c7a76d7c8cb/action/package.json#L19
I don't think so. According to https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md and https://www.npmjs.com/package/@actions/cache 3.2.4 is the latest version.
I think it needs to be updated to at least 3.0.5 tho since that's what they write in their CHANGELOG.md for that version:
Update `@actions/cache` to use `@actions/core@^1.10.0`
this also needs to be updated to 4.0.0 https://github.com/jurplel/install-qt-action/blob/74ca8cd6681420fc8894aed264644c7a76d7c8cb/action/package.json#L19
I don't think so. According to actions/toolkit@
main
/packages/cache/RELEASES.md and npmjs.com/package/@actions/cache 3.2.4 is the latest version. I think it needs to be updated to at least 3.0.5 tho since that's what they write in their CHANGELOG.md for that version:Update `@actions/cache` to use `@actions/core@^1.10.0`
Then I think I got the Cache Action that is being used as a standalone action and the cache action, that is part of the toolkit to develop actions with, mixed up. On npm was the actions/cache of toolkit (where I started looking) and you linked the actual actions/cache action hosted on GitHub.
Release finally done
I'm aware that 'a7683763fa44598d9faf6157a27632def618ad42' version is not a release but I wanted to update my pipeline to get rid of Node.js 16 deprecation warning.
Maybe someone (@jurplel ) is aware of this issue already but I'm leaving it here just in case.