Skip to content

Commit 4006776

Browse files
committed
add default values in action.yml
closes: #12
1 parent 22d180f commit 4006776

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
runs-on: ubuntu-latest
4040
steps:
4141
- name: Send repo to Dataverse
42-
uses: IQSS/dataverse-uploader@v1.2
42+
uses: IQSS/dataverse-uploader@v1.3
4343
with:
4444
DATAVERSE_TOKEN: ${{secrets.DATAVERSE_TOKEN}}
4545
DATAVERSE_SERVER: https://demo.dataverse.org
@@ -52,7 +52,7 @@ you should add the `GITHUB_DIR` argument in your workflow, as follows:
5252
```
5353
steps:
5454
- name: Send repo to Dataverse
55-
uses: IQSS/dataverse-uploader@v1.2
55+
uses: IQSS/dataverse-uploader@v1.3
5656
with:
5757
DATAVERSE_TOKEN: ${{secrets.DATAVERSE_TOKEN}}
5858
DATAVERSE_SERVER: https://demo.dataverse.org
@@ -68,7 +68,7 @@ set the `DELETE` argument to `False` like:
6868
```
6969
steps:
7070
- name: Send repo to Dataverse
71-
uses: IQSS/dataverse-uploader@v1.2
71+
uses: IQSS/dataverse-uploader@v1.3
7272
with:
7373
DATAVERSE_TOKEN: ${{secrets.DATAVERSE_TOKEN}}
7474
DATAVERSE_SERVER: https://demo.dataverse.org
@@ -84,7 +84,7 @@ set the `PUBLISH` argument to `True`.
8484
```
8585
steps:
8686
- name: Send repo to Dataverse
87-
uses: IQSS/dataverse-uploader@v1.2
87+
uses: IQSS/dataverse-uploader@v1.3
8888
with:
8989
DATAVERSE_TOKEN: ${{secrets.DATAVERSE_TOKEN}}
9090
DATAVERSE_SERVER: https://demo.dataverse.org

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,15 @@ inputs:
1818
GITHUB_DIR:
1919
required: false
2020
description: "upload only from specific dirs"
21+
default: ""
2122
DELETE:
2223
required: false
2324
description: "delete all files before upload"
25+
default: 'true'
2426
PUBLISH:
2527
required: false
2628
description: "publish after upload"
29+
default: 'false'
2730

2831
runs:
2932
using: "composite"

0 commit comments

Comments
 (0)