Skip to content

Commit

Permalink
Merge pull request #2185 from input-output-hk/djo/2172/use-released-b…
Browse files Browse the repository at this point in the history
…uild-for-stable-explorer

ci: publish packaged explorer in latest release
  • Loading branch information
Alenar authored Dec 18, 2024
2 parents 4940dd3 + a98448c commit 675233f
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -938,11 +938,15 @@ jobs:
name: docusaurus-build
path: ./github-pages/doc

- name: Download Explorer build (stable)
uses: actions/download-artifact@v4
with:
name: explorer-build
path: ./github-pages/explorer
- name: Download and unpack Explorer build (stable)
shell: bash
run: |
# Note: If the tag is omitted, 'gh release' commands uses the latest released version
LAST_DISTRIBUTION=$(gh release view -R ${{ github.repository }} --json "tagName" --jq ".tagName")
gh release download -R ${{ github.repository }} --pattern "mithril-explorer-${LAST_DISTRIBUTION}*"
mkdir -p ./github-pages/explorer/
tar xvf mithril-explorer-${LAST_DISTRIBUTION}.tar.gz --directory=./github-pages/explorer/
- name: Download Explorer build (unstable)
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 675233f

Please sign in to comment.