Skip to content

Commit 317abf1

Browse files
authored
Merge pull request #47 from SignPath/github-action-2.2.0
GitHub action 2.2.0
2 parents a76ee51 + 71807fd commit 317abf1

2 files changed

Lines changed: 19 additions & 3 deletions

File tree

docs/_data/changelog.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
- date: '2026-04-22'
2+
updates:
3+
github_actions_action:
4+
version: 2.2.0
5+
new_features:
6+
- text: |-
7+
Added support for unzipped artifacts using the `skip-decompress` parameter.
8+
issues: [SIGN-8404]
19
- date: '2026-04-09'
210
updates:
311
github_actions_action:

docs/trusted-build-systems/github.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,16 @@ description: GitHub
1111
* Use the predefined Trusted Build System _GitHub.com_ (see [configuration](/trusted-build-systems#configuration))
1212
* add it to the Organization
1313
* link it to each SignPath Project for GitHub
14-
* Specify `<zip-file>` as root element of your [Artifact Configurations](/artifact-configuration) (GitHub packages all artifacts as ZIP archives)
1514
* Required for [source code and build policies](#define-policies-for-source-code-and-builds): Install the [SignPath GitHub App](https://github.com/apps/signpath) and allow access to the code repositories.
1615

16+
{:.panel.info}
17+
> **ZIP archives**
18+
>
19+
> By default, the `upload-artifact` action creates a ZIP archive, which requires the root element of your [Artifact Configurations](/artifact-configuration) to be of type `<zip-file>`.
20+
> If you want to specify your artifact type directly, specify `archive: false` in the `upload-artifact` action. See [Usage](#usage).
21+
>
22+
> <i class='la la-exclamation-triangle'></i> Note that there is an open bug in GitHub's `upload-artifact` action where the `name` parameter is ignored and the action fails if another artifact with the same filename has already been uploaded. See issues [#769](https://github.com/actions/upload-artifact/issues/769) and [#785](https://github.com/actions/upload-artifact/issues/785).
23+
1724
{:.panel.info}
1825
> **GitHub Enterprise Server**
1926
>
@@ -38,10 +45,10 @@ steps:
3845
# required for the artifact to be available on the GitHub server
3946
- name: upload-unsigned-artifact
4047
id: upload-unsigned-artifact
41-
uses: actions/upload-artifact@v4
48+
uses: actions/upload-artifact@v7
4249
with:
4350
path: path/to/your/artifact
44-
51+
4552
- id: optional_step_id
4653
uses: signpath/github-action-submit-signing-request@v2
4754
with:
@@ -77,6 +84,7 @@ steps:
7784
| `service-unavailable-timeout-in-seconds` | `600` | Total time in seconds that the action will wait for a single service call to succeed (across several retries).
7885
| `download-signed-artifact-timeout-in-seconds` | `300` | HTTP timeout when downloading the signed artifact.
7986
| `parameters` | | Multiline-string of values that map to [user-defined parameters] in the Artifact Configuration. Use one line per parameter with the format `<name>: "<value>"` where `<value>` needs to be a valid JSON string.
87+
| `skip-decompress` | `false` | Set to `true` if the `archive` parameter in the `upload-artifact` action is set to `true` (i.e. the artifact is not stored as a ZIP archive)
8088
{:.break-code}
8189
{% endraw %}
8290

0 commit comments

Comments
 (0)