Skip to content

Commit

Permalink
Remove updating lib.rs from release workflow (#74)
Browse files Browse the repository at this point in the history
Signed-off-by: Nik Nasr <[email protected]>
  • Loading branch information
nikrooz authored Oct 16, 2024
1 parent dc28486 commit 082ea9f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ jobs:
file: ${{ needs.release.outputs.artifact-name }}
target: ./crates/web-ui/assets/${{ needs.release.outputs.artifact-name }}
token: ${{ secrets.TOKEN_FOR_RESTATE_REPO }}
- name: Update lib.rs
run: |
echo 'pub const UI_ASSETS: &[u8] = include_bytes!("../assets/${{ needs.release.outputs.artifact-name }}");' > ./crates/web-ui/src/lib.rs
- name: Calculate SHA256 checksum and set as env var
run: |
echo "FILE_SHA256=$(sha256sum ./crates/web-ui/assets/${{ needs.release.outputs.artifact-name }} | awk '{print $1}')" >> $GITHUB_ENV
Expand Down

0 comments on commit 082ea9f

Please sign in to comment.