Prechádzať zdrojové kódy

Update release binary paths

Matthew Esposito 2 rokov pred
rodič
commit
c1dd1a091e
1 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  1. 4 4
      .github/workflows/main-rust.yml

+ 4 - 4
.github/workflows/main-rust.yml

@@ -36,17 +36,17 @@ jobs:
         run: RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-unknown-linux-gnu
         run: RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-unknown-linux-gnu
 
 
       - name: Calculate SHA512 checksum
       - name: Calculate SHA512 checksum
-        run: sha512sum target/release/libreddit > libreddit.sha512
+        run: sha512sum target/x86_64-unknown-linux-gnu/release/libreddit > libreddit.sha512
 
 
       - name: Calculate SHA256 checksum
       - name: Calculate SHA256 checksum
-        run: sha256sum target/release/libreddit > libreddit.sha256
+        run: sha256sum target/x86_64-unknown-linux-gnu/release/libreddit > libreddit.sha256
 
 
       - uses: actions/upload-artifact@v3
       - uses: actions/upload-artifact@v3
         name: Upload a Build Artifact
         name: Upload a Build Artifact
         with:
         with:
           name: libreddit
           name: libreddit
           path: |
           path: |
-            target/release/libreddit
+            target/x86_64-unknown-linux-gnu/release/libreddit
             libreddit.sha512
             libreddit.sha512
             libreddit.sha256
             libreddit.sha256
         
         
@@ -68,7 +68,7 @@ jobs:
           name: ${{ steps.version.outputs.VERSION }} - ${{ github.event.head_commit.message }}
           name: ${{ steps.version.outputs.VERSION }} - ${{ github.event.head_commit.message }}
           draft: true
           draft: true
           files: |
           files: |
-            target/release/libreddit
+            target/x86_64-unknown-linux-gnu/release/libreddit
             libreddit.sha512
             libreddit.sha512
             libreddit.sha256
             libreddit.sha256
           body: |
           body: |