@@ -31,6 +31,7 @@ Use this action to create signed git artifacts:
31
31
garasign_password: ${{ secrets.GRS_CONFIG_USER1_PASSWORD }}
32
32
artifactory_username: ${{ secrets.ARTIFACTORY_USER }}
33
33
artifactory_password: ${{ secrets.ARTIFACTORY_PASSWORD }}
34
+ skip_setup: true
34
35
```
35
36
36
37
If the action is used multiple times within the same job, the ` skip_setup `
@@ -39,11 +40,12 @@ option can be set to a truthy value to avoid unnecessary logins to artifactory.
39
40
### gpg-sign
40
41
41
42
This action is used to create detached signatures for files:
43
+
42
44
``` markdown
43
45
- name: "Create detached signature"
44
46
uses: mongodb/drivers-github-tools/garasign/gpg-sign@main
45
47
with:
46
- filename : somefile.ext
48
+ filenames : somefile.ext
47
49
garasign_username: ${{ secrets.GRS_CONFIG_USER1_USERNAME }}
48
50
garasign_password: ${{ secrets.GRS_CONFIG_USER1_PASSWORD }}
49
51
artifactory_username: ${{ secrets.ARTIFACTORY_USER }}
@@ -55,6 +57,19 @@ directory.
55
57
If the action is used multiple times within the same job, the ` skip_setup `
56
58
option can be set to a truthy value to avoid unnecessary logins to artifactory.
57
59
60
+ You can also supply multiple space-separated filenames to sign a list of files:
61
+
62
+ ``` markdown
63
+ - name: "Create detached signature"
64
+ uses: mongodb/drivers-github-tools/garasign/gpg-sign@main
65
+ with:
66
+ filenames: somefile.ext someotherfile.txt
67
+ garasign_username: ${{ secrets.GRS_CONFIG_USER1_USERNAME }}
68
+ garasign_password: ${{ secrets.GRS_CONFIG_USER1_PASSWORD }}
69
+ artifactory_username: ${{ secrets.ARTIFACTORY_USER }}
70
+ artifactory_password: ${{ secrets.ARTIFACTORY_PASSWORD }}
71
+ ```
72
+
58
73
### setup
59
74
60
75
The setup action is used by ` git-sign ` and ` gpg-sign ` to create an env file and
0 commit comments