Skip to content

Commit 44223c6

Browse files
committed
refactor: use correct output folder
1 parent 1191a50 commit 44223c6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/publish-docs.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
# Print the values
3131
echo "artifact=$ARTIFACT"
3232
33-
# Set the environment variables and outputs
34-
echo "ARTIFACT=$ARTIFACT" >> $GITHUB_ENV
33+
# Set the output
34+
echo "::set-output name=artifact::$ARTIFACT"
3535
3636
- name: Setup Gradle
3737
uses: gradle/actions/setup-gradle@v3
@@ -42,14 +42,13 @@ jobs:
4242
- name: Zip docs
4343
run: |
4444
mkdir -p artifacts
45-
zip -r artifacts/${{ steps.define-ids.outputs.artifact }} build/dokka/html
45+
zip -r artifacts/${{ needs.build.outputs.artifact }} build/dokka/html
4646
4747
- name: Upload artifact
4848
uses: actions/upload-artifact@v4
4949
with:
5050
name: docs
51-
path: artifacts/${{ steps.define-ids.outputs.artifact }}
52-
51+
path: artifacts/${{ needs.build.outputs.artifact }}
5352

5453
deploy:
5554
environment:

0 commit comments

Comments
 (0)