Skip to content

Commit

Permalink
Release-native: add the run_id parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed Feb 21, 2025
1 parent ffeb819 commit 23a14fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
version:
description: "Scalafmt version (e.g., 1.2.3)"
required: true
run_id:
description: "Github actions run_id which built the release"
required: true

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

0 comments on commit 23a14fb

Please sign in to comment.