Skip to content

Commit 14afa54

Browse files
authored
Update upload-artifact to v7 and pin version correctly (#2306)
Updates upload-artifacts to version v7 and pins the used version range correctly to prevent auto-upgrade to a newer major version next time.
1 parent 96ee85c commit 14afa54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/docs-pr.main.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
@file:Repository("https://bindings.krzeminski.it/")
2626
@file:DependsOn("actions:checkout___major:[v6,v7-alpha)")
27-
@file:DependsOn("actions:upload-artifact___major:[v5,7.0)")
27+
@file:DependsOn("actions:upload-artifact___major:[v7,v8-alpha)")
2828

2929
import io.github.typesafegithub.workflows.actions.actions.Checkout
3030
import io.github.typesafegithub.workflows.actions.actions.Checkout.FetchDepth

.github/workflows/docs-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
run: './gradlew --stacktrace asciidoctor javadoc "-Dvariant=5.0" "-DjavaVersion=25"'
5252
- id: 'step-4'
5353
name: 'Archive and upload docs'
54-
uses: 'actions/upload-artifact@v6'
54+
uses: 'actions/upload-artifact@v7'
5555
with:
5656
name: 'docs'
5757
path: |-

0 commit comments

Comments
 (0)