Skip to content

Commit

Permalink
fix: fix github release workflow after restructuration
Browse files Browse the repository at this point in the history
  • Loading branch information
LyonSyonII committed Feb 5, 2024
1 parent 23373b5 commit 14736c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
# but also really annoying to build CI around when it needs secrets to work right.)
- id: plan
run: |
cd cli # ADDED
cargo dist ${{ (!github.event.pull_request && format('host --steps=create --tag={0}', github.ref_name)) || 'plan' }} --output-format=json > dist-manifest.json
echo "cargo dist ran successfully"
cat dist-manifest.json
Expand Down Expand Up @@ -123,6 +124,7 @@ jobs:
- name: Build artifacts
run: |
# Actually do builds and make zips and whatnot
cd cli # ADDED
cargo dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json
echo "cargo dist ran successfully"
- id: cargo-dist
Expand Down Expand Up @@ -170,6 +172,7 @@ jobs:
- id: cargo-dist
shell: bash
run: |
cd cli # ADDED
cargo dist build ${{ needs.plan.outputs.tag-flag }} --output-format=json "--artifacts=global" > dist-manifest.json
echo "cargo dist ran successfully"
Expand Down Expand Up @@ -215,6 +218,7 @@ jobs:
- id: host
shell: bash
run: |
cd cli # ADDED
cargo dist host ${{ needs.plan.outputs.tag-flag }} --steps=upload --steps=release --output-format=json > dist-manifest.json
echo "artifacts uploaded and released successfully"
cat dist-manifest.json
Expand Down

0 comments on commit 14736c8

Please sign in to comment.