Skip to content

Commit

Permalink
release-native: fix the location of the archive
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed Feb 28, 2025
1 parent 8bc8918 commit f275dfb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
- main
tags_ignore:
- '*'
pull_request:

permissions:
contents: read
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/release-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
run_id:
description: "Github actions run_id which built the release"
required: true
pull_request:

permissions:
contents: read
Expand Down Expand Up @@ -79,11 +80,15 @@ jobs:
uses: actions/download-artifact@v4
with:
name: scalafmt-x86_64-pc-linux.zip
path: tmp/scalafmt-docker-build.zip # Dockerfile uses this
path: tmp/scalafmt-docker-build # Dockerfile uses this
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event_name == 'release' && github.run_id || github.event.inputs.run_id }}
run-id: ${{ github.event_name == 'release' && github.run_id || '13596561226' }}
- name: What do we have 1
run: ls -ltr tmp/scalafmt-docker-build
- name: Decompress scalafmt artifact
run: unzip tmp/scalafmt-docker-build.zip -d tmp # Dockerfile uses this
run: unzip tmp/scalafmt-docker-build/scalafmt-x86_64-pc-linux.zip -d tmp/scalafmt-docker-build
- name: What do we have 2
run: ls -ltr tmp/scalafmt-docker-build
- name: Login to DockerHub
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit f275dfb

Please sign in to comment.