Skip to content

Commit

Permalink
Fix Rust release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Tao Lu committed Jan 26, 2023
1 parent 297fe9c commit 9b139b6
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/release-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,21 @@ jobs:
run: rozy/target/${{ matrix.target }}/release/ozy --version | grep "$(echo $GITHUB_REF_NAME | cut -c2-)"
- name: Rename
run: mv rozy/target/${{ matrix.target }}/release/ozy rozy/target/${{ matrix.target }}/release/${{ matrix.asset }}
- uses: actions/upload-artifact@v2
with:
name: ${{ matrix.asset }}
path: rozy/target/${{ matrix.target }}/release/${{ matrix.asset }}

upload:
needs: [ build ]
runs-on: ubuntu-18.04
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v2
- name: Upload binaries to release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
files: rozy/target/${{ matrix.target }}/release/${{ matrix.asset }}
files: "**/ozy-*"

0 comments on commit 9b139b6

Please sign in to comment.