-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: gradle builds [TEST] #3242
fix: gradle builds [TEST] #3242
Conversation
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
This reverts commit 52b041f.
Signed-off-by: Ramon Petgrave <[email protected]>
@@ -119,15 +119,9 @@ runs: | |||
PROJECT_ROOT: ${{ steps.run_gradle_builder.outputs.validated_project_root }} | |||
run: | | |||
cd "${PROJECT_ROOT}" && "${GITHUB_WORKSPACE}"/../__TOOL_ACTION_DIR__/create_attestation.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cd "${PROJECT_ROOT}" && "${GITHUB_WORKSPACE}"/../__TOOL_ACTION_DIR__/create_attestation.sh | |
cd "${PROJECT_ROOT}" && "${GITHUB_WORKSPACE}"/../__TOOL_ACTION_DIR__/create_attestation.sh | |
mv "${PROJECT_ROOT}/slsa-build ${GITHUB_WORKSPACE}"/ |
move the slsa-build dir to the workspace so upload-build-dir can see slsa-build folder
@@ -38,5 +38,5 @@ do | |||
|
|||
# Move the file | |||
bn=$(basename -- "$path_with_version") | |||
cp "$path_with_version" release-files-for-slsa/"$bn" | |||
cp "$path_with_version" slsa-build/"$bn" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OR just work directly from GITHUB_WORKSPACE and make sure you use PROJECT_ROOT to prefix the path
cp "$path_with_version" slsa-build/"$bn" | |
cp ${PROJECT_ROOT}/"$path_with_version" slsa-build/"$bn" |
redo in #3250 |
Test PR
Fixes the gradle builds #2727
Error:
https://github.com/ramonpetgrave64/my-example-gradle-project/actions/runs/7731834875/job/21080438734
at
slsa-github-generator/internal/builders/gradle/action.yml
Line 127 in 6c0e4f6
Docs may need more concrete examples. If your jar is at
./app/build/libs/app.jar
, then you need to have that set as the argument toartifact-list:
slsa-github-generator/internal/builders/gradle/README.md
Line 86 in 6c0e4f6