Skip to content

Commit 23a14fb

Browse files
committed
Release-native: add the run_id parameter
1 parent ffeb819 commit 23a14fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release-native.yml

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
version:
88
description: "Scalafmt version (e.g., 1.2.3)"
99
required: true
10+
run_id:
11+
description: "Github actions run_id which built the release"
12+
required: true
1013

1114
permissions:
1215
contents: read
@@ -73,6 +76,7 @@ jobs:
7376
with:
7477
name: scalafmt-x86_64-pc-linux
7578
path: tmp/scalafmt-docker-build # Dockerfile uses this
79+
run_id: ${{ github.event_name == 'release' && github.run_id || github.event.inputs.run_id }}
7680
- name: Login to DockerHub
7781
uses: docker/login-action@v3
7882
with:

0 commit comments

Comments
 (0)