Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ jobs:
# Only deploy when the Release workflow succeeded
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Download Linux binary from release
uses: actions/download-artifact@v8
with:
name: artifacts-x86_64-unknown-linux-gnu
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Download Linux binary from published release asset
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
TAG="${{ github.event.workflow_run.head_branch }}"
echo "Downloading dk-x86_64-unknown-linux-gnu.tar.gz from release $TAG"
gh release download "$TAG" --repo "${{ github.repository }}" \
--pattern 'dk-x86_64-unknown-linux-gnu.tar.gz' --clobber

- name: Extract binary from cargo-dist archive
run: |
Expand Down
Loading