Skip to content

Commit

Permalink
Use only inner path
Browse files Browse the repository at this point in the history
  • Loading branch information
plocket committed May 23, 2024
1 parent 71d34aa commit 8dea1fe
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ runs:
uses: actions/download-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}
# For private repos possibly
github_token: ${{ secrets.GITHUB_TOKEN }}
if_no_artifact_found: warn

# Create output
- shell: bash
Expand All @@ -163,9 +166,9 @@ runs:
run: |
# 💡 ALK0183 INFO: Give file contents or 'false' to interview authors
FOLDER=$(ls -d */ | grep -E '^alkiln-*')
REPORT_PATH="/${ARTIFACT_NAME}/${FOLDER}report.txt"
UNEXPECTED_RESULTS_PATH="/${ARTIFACT_NAME}/${FOLDER}unexpected_results.txt"
DEBUG_LOG_PATH="/${ARTIFACT_NAME}/${FOLDER}debug_log.txt"
REPORT_PATH="${FOLDER}report.txt"
UNEXPECTED_RESULTS_PATH="${FOLDER}unexpected_results.txt"
DEBUG_LOG_PATH="${FOLDER}debug_log.txt"
echo "REPORT_PATH=$REPORT_PATH" >> $GITHUB_ENV
echo "UNEXPECTED_RESULTS_PATH=$UNEXPECTED_RESULTS_PATH" >> $GITHUB_ENV
Expand Down

0 comments on commit 8dea1fe

Please sign in to comment.