Skip to content

Commit

Permalink
Upload pages artifact with upload-artifact@v4-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
konradpabjan committed Oct 26, 2023
1 parent a753861 commit e699324
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ inputs:
description: "Duration after which artifact will expire in days."
required: false
default: "1"
outputs:
artifact-id:
description: "The ID of the artifact that was uploaded."
value: ${{ steps.upload-artifact.outputs.artifact-id }}
runs:
using: composite
steps:
Expand Down Expand Up @@ -63,7 +67,8 @@ runs:
INPUT_PATH: ${{ inputs.path }}

- name: Upload artifact
uses: actions/upload-artifact@v3
id: upload-artifact
uses: actions/upload-artifact@v4-beta
with:
name: ${{ inputs.name }}
path: ${{ runner.temp }}/artifact.tar
Expand Down

0 comments on commit e699324

Please sign in to comment.