Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Commit

Permalink
πŸ‘·β€ GitHub: split the publishing workflow into the 2 jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Sep 7, 2022
1 parent c255e2f commit 5c3d702
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
CARGO_TERM_COLOR: always

jobs:
publish:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down Expand Up @@ -70,6 +70,17 @@ jobs:
asset_name: blitz-dashboard.aarch64-unknown-linux-gnu
asset_content_type: application/octet-stream

publish:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download release asset
uses: dsaltares/fetch-gh-release-asset@master
with:
version: tags/${{ github.ref_name }}
file: blitz-dashboard.aarch64-unknown-linux-gnu
target: blitz-dashboard.aarch64-unknown-linux-gnu

- name: Set up Tailscale
uses: tailscale/github-action@v1
with:
Expand Down

0 comments on commit 5c3d702

Please sign in to comment.