From 694374d078cb1bf56519bbc0cefe4363c06c540f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aliberk=20Sand=C4=B1k=C3=A7=C4=B1?= Date: Wed, 22 Jan 2025 01:02:16 +0300 Subject: [PATCH] last? --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea26c7421..01463e3f2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,14 +96,14 @@ jobs: echo "::notice::building master" ./gradlew assembleRelease mv "${{ github.workspace }}/master/app/build/outputs/apk/release/app-release-unsigned.apk" "${{ github.workspace }}/output/master.apk" - cp "./github/changelog.md" "${{ github.workspace }}/output/" + cp "./.github/changelog.md" "${{ github.workspace }}/output/" elif [[ "${{ inputs.style }}" -eq "2" ]]; then cd "${{ github.workspace }}/extended/" echo "::notice::building extended" ./gradlew assembleRelease mv "${{ github.workspace }}/extended/app/build/outputs/apk/release/app-release-unsigned.apk" "${{ github.workspace }}/output/extended.apk" - cp "./github/changelog.md" "${{ github.workspace }}/output/" + cp "./.github/changelog.md" "${{ github.workspace }}/output/" elif [[ "${{ inputs.style }}" -eq "3" ]]; then echo "::notice::both master and extended are going to build" @@ -112,7 +112,7 @@ jobs: echo "::notice::building master" ./gradlew assembleRelease mv "${{ github.workspace }}/master/app/build/outputs/apk/release/app-release-unsigned.apk" "${{ github.workspace }}/output/master.apk" - cp "./github/changelog.md" "${{ github.workspace }}/output/" + cp "./.github/changelog.md" "${{ github.workspace }}/output/" cd "${{ github.workspace }}/extended" echo "::notice::building extended" @@ -124,7 +124,7 @@ jobs: echo "::notice::building current" ./gradlew assembleRelease mv "${{ github.workspace }}/current/app/build/outputs/apk/release/app-release-unsigned.apk" "${{ github.workspace }}/output/current.apk" - cp "./github/changelog.md" "${{ github.workspace }}/output/" + cp "./.github/changelog.md" "${{ github.workspace }}/output/" fi - name: Sign APK @@ -171,9 +171,9 @@ jobs: - name: Create release and upload run: | gh auth login --with-token <<<"${{ secrets.GITHUB_TOKEN }}" - gh release create "v${version}" --title "${{ inputs.title }}" --notes-file "./changelog.md" --prerelease="true" --repo MaintainTeam/PipeBenderTests cd "${{ github.workspace }}/output/" - gh release upload "v${version}" "echo $(find . -name '*.apk' -type f -exec basename \{} \;) checksums.txt" --repo MaintainTeam/PipeBenderTests + gh release create "v${version}" --title "${{ inputs.title }}" --notes-file "./changelog.md" --prerelease="true" --repo MaintainTeam/PipeBenderTests + gh release upload "v${version}" $(echo $(find . -name '*.apk' -type f -exec basename \{} \;) checksums.txt) --repo MaintainTeam/PipeBenderTests - name: Archive reports for job uses: actions/upload-artifact@v4