diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 98de66ccf..9bbb01c7b 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -109,7 +109,7 @@ jobs: - name: Remove apk release suffix run: find . -name "Gallery-*.apk" -exec bash -c 'mv "$1" "${1//-release/}"' _ {} \; - name: Generate SHA256 - run: find . -name "Gallery-*.apk" -exec bash -c 'sha256sum "$1" | awk '{print $1}' > "${file}.sha256"' _ {} \; + run: find . -name "Gallery-*.apk" -exec bash -c 'sha256sum "$1" | awk '\''{print $1}'\'' > "$1.sha256"' _ {} \; - name: Create Release id: create_release uses: softprops/action-gh-release@v2 diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml index 101ce1403..8e05f1b90 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/stable.yml @@ -134,7 +134,7 @@ jobs: - name: Remove apk release suffix run: find . -name "Gallery-*.apk" -exec bash -c 'mv "$1" "${1//-release/}"' _ {} \; - name: Generate SHA256 - run: find . -name "Gallery-*.apk" -exec bash -c 'sha256sum "$1" | awk '{print $1}' > "${file}.sha256"' _ {} \; + run: find . -name "Gallery-*.apk" -exec bash -c 'sha256sum "$1" | awk '\''{print $1}'\'' > "$1.sha256"' _ {} \; - name: Create Release id: create_release uses: softprops/action-gh-release@v2