Skip to content

Commit 4046eda

Browse files
committed
Update dependencies and README
1 parent 9f3da71 commit 4046eda

File tree

5 files changed

+59
-27
lines changed

5 files changed

+59
-27
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
id: test-action
5858
uses: ./
5959
with:
60-
version: 15.0.0
60+
version: 17.0.0
6161
unzip-to: qt-creator
6262

6363
- name: Print Output

README.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,30 @@
22

33
This action allows you to install the Qt Creator development packages.
44

5+
[![GitHub Super-Linter](https://github.com/qt-creator/install-dev-package/actions/workflows/linter.yml/badge.svg)](https://github.com/super-linter/super-linter)
6+
![CI](https://github.com/qt-creator/install-dev-package/actions/workflows/ci.yml/badge.svg)
7+
[![Check dist/](https://github.com/qt-creator/install-dev-package/actions/workflows/check-dist.yml/badge.svg)](https://github.com/qt-creator/install-dev-package/actions/workflows/check-dist.yml)
8+
[![CodeQL](https://github.com/qt-creator/install-dev-package/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/qt-creator/install-dev-package/actions/workflows/codeql-analysis.yml)
9+
[![Coverage](./badges/coverage.svg)](./badges/coverage.svg)
10+
511
## Example
612

713
```yaml
814
steps:
9-
uses: qt-creator/[email protected]
10-
with:
11-
version: 15.0.0
15+
- id: qtc-extract
16+
uses: qt-creator/[email protected]
17+
with:
18+
version: 17.0.0
19+
```
20+
21+
## Outputs
22+
23+
You can get the path to the extracted files via the outputs:
24+
25+
```yaml
26+
steps:
27+
- name: Print outputs
28+
run: |
29+
echo "Path: ${{ steps.qtc-extract.outputs.path }}"
30+
echo "Path, always with /: ${{ steps.qtc-extract.outputs.path-with-slashes }}"
1231
```

__tests__/main.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ describe('action', () => {
3737
setOutputMock = jest.spyOn(core, 'setOutput').mockImplementation()
3838
})
3939

40-
it('downloads 15.0.0', async () => {
40+
it('downloads 17.0.0', async () => {
4141
// Set the action's inputs as return values from core.getInput()
4242
getInputMock.mockImplementation(name => {
4343
switch (name) {
4444
case 'version':
45-
return '15.0.0'
45+
return '17.0.0'
4646
case 'unzip-to':
4747
return tmpDir
4848
case 'platform':

package-lock.json

Lines changed: 33 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
},
6969
"dependencies": {
7070
"@actions/core": "^1.11.1",
71-
"axios": "^1.11.0",
71+
"axios": "^1.12.2",
7272
"libarchive-wasm": "github:Maddimax/libarchive-wasm"
7373
},
7474
"devDependencies": {

0 commit comments

Comments
 (0)