@@ -31,6 +31,7 @@ Use this action to create signed git artifacts:
3131 garasign_password: ${{ secrets.GRS_CONFIG_USER1_PASSWORD }}
3232 artifactory_username: ${{ secrets.ARTIFACTORY_USER }}
3333 artifactory_password: ${{ secrets.ARTIFACTORY_PASSWORD }}
34+ skip_setup: true
3435```
3536
3637If 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.
3940### gpg-sign
4041
4142This action is used to create detached signatures for files:
43+
4244``` markdown
4345- name: "Create detached signature"
4446 uses: mongodb/drivers-github-tools/garasign/gpg-sign@main
4547 with:
46- filename : somefile.ext
48+ filenames : somefile.ext
4749 garasign_username: ${{ secrets.GRS_CONFIG_USER1_USERNAME }}
4850 garasign_password: ${{ secrets.GRS_CONFIG_USER1_PASSWORD }}
4951 artifactory_username: ${{ secrets.ARTIFACTORY_USER }}
@@ -55,6 +57,19 @@ directory.
5557If the action is used multiple times within the same job, the ` skip_setup `
5658option can be set to a truthy value to avoid unnecessary logins to artifactory.
5759
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+
5873### setup
5974
6075The setup action is used by ` git-sign ` and ` gpg-sign ` to create an env file and
0 commit comments