Skip to content

Commit

Permalink
Revert "fix attempt to use dynamic secure-uplaod-artifact"
Browse files Browse the repository at this point in the history
This reverts commit 90909d4.
  • Loading branch information
ramonpetgrave64 committed Mar 8, 2024
1 parent 90909d4 commit 14806b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
10 changes: 1 addition & 9 deletions .github/actions/secure-upload-folder/action.yml
Expand Up @@ -24,14 +24,6 @@ inputs:
path:
description: 'Path to the folder'
required: true
repo:
description: 'repo of secure-upload-artifact to use'
required: false
default: 'slsa-framework/slsa-github-generator'
ref:
description: 'ref of secure-upload-artifact to use'
required: false
default: 'main'
outputs:
sha256:
description: "SHA256 of the uploaded tarball."
Expand Down Expand Up @@ -68,7 +60,7 @@ runs:
- name: Upload the artifact
id: upload
uses: "${{ inputs.repo }}.github/actions/secure-upload-artifact@${{ inputs.ref }}"
uses: slsa-framework/slsa-github-generator/.github/actions/secure-upload-artifact@main
with:
name: "${{ inputs.name }}"
path: "${{ steps.create.outputs.tarball-path }}"
3 changes: 0 additions & 3 deletions .github/workflows/pre-submit.actions.yml
Expand Up @@ -260,16 +260,13 @@ jobs:
with:
name: "${{ env.ARTIFACT_NAME }}"
path: "${{ env.UPLOAD_FOLDER_NAME }}"
repo:

- name: Upload
id: upload-noroot
uses: ./.github/actions/secure-upload-folder
with:
name: "${{ env.ARTIFACT_NO_ROOT_NAME }}"
path: "${{ env.UPLOAD_FOLDER_NO_ROOT_NAME }}"
repo: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github.repository }}
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}

- name: Download in new folder
uses: ./.github/actions/secure-download-folder
Expand Down

0 comments on commit 14806b8

Please sign in to comment.