forked from LiuYunPlayer/TuneLab
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed CI MacOS executable and dynamic library file find
- Loading branch information
1 parent
238add1
commit e106b8f
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,21 +54,21 @@ jobs: | |
with: | ||
subject-path: '"workspace/*.dll","workspace/*.exe"' | ||
|
||
- name: Find ELF files - MacOS and Linux | ||
- name: Find executable and dynamic library files - MacOS and Linux | ||
if: runner.os != 'Windows' && github.event_name != 'pull_request' | ||
id: find-elf-files | ||
id: find-executable-files | ||
working-directory: ${{github.workspace}} | ||
run: | | ||
chmod +x ./CIUtils/find-executable.sh | ||
ELF_FILES=$(./CIUtils/find-executable.sh "workspace/") | ||
echo "Found ELF files: $ELF_FILES" | ||
echo "elf_files=$ELF_FILES" >> $GITHUB_OUTPUT | ||
EXEC_FILES=$(./CIUtils/find-executable.sh "workspace/") | ||
echo "Found executable and dynamic library files: $EXEC_FILES" | ||
echo "exec_files=$EXEC_FILES" >> $GITHUB_OUTPUT | ||
- name: Generate artifact attestation - MacOS and Linux | ||
if: runner.os != 'Windows' && github.event_name != 'pull_request' | ||
uses: actions/attest-build-provenance@v1 | ||
with: | ||
subject-path: '"workspace/*.dll",${{ steps.find-elf-files.outputs.elf_files }}' | ||
subject-path: '"workspace/*.dll",${{ steps.find-executable-files.outputs.exec_files }}' | ||
|
||
- name: Get short SHA | ||
uses: benjlevesque/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters