Skip to content

Commit 4583987

Browse files
committed
Fix issues with action yml
Signed-off-by: Andy Doan <andy@foundries.io>
1 parent 80f39e4 commit 4583987

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/unit-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ jobs:
2121
with:
2222
path: ./build
2323
build_id: "${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }}"
24+
github_token: "${{secrets.GITHUB_TOKEN}}"

action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ inputs:
55
description: "Directory containing the files to upload"
66
required: true
77
build_id:
8-
description: "Path on fileserver to put artifacts under: ${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }}"
8+
description: "Path on fileserver to put artifacts under: github.repository - github.run_id - github.run_attempt"
9+
required: true
10+
github_token:
11+
description: "The secrets.GITHUB_TOKEN variable in the workflow"
912
required: true
1013
fileserver_url:
1114
description: "Server to use for upload"
@@ -28,7 +31,7 @@ runs:
2831
BUILD_DIR: ${{ inputs.path }}
2932
BUILD_ID: ${{ inputs.build_id}}
3033
FILE_SERVER: ${{ inputs.fileserver_url }}
31-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
GITHUB_TOKEN: ${{ inputs.github_token }}
3235
UPLOAD_THREADS: ${{ inputs.upload_threads }}
3336
shell: bash
3437
run: ./publish_artifacts.py

0 commit comments

Comments
 (0)