From 72fd4ce9212c9e86e7c0a85feb43a99fce5e8a2e Mon Sep 17 00:00:00 2001 From: Nik Nasr Date: Tue, 15 Oct 2024 16:57:53 +0100 Subject: [PATCH] remove updating lib.rs Signed-off-by: Nik Nasr --- .github/workflows/release.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7373ce78..fda809d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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