Skip to content

Commit

Permalink
last?
Browse files Browse the repository at this point in the history
  • Loading branch information
asandikci authored Jan 21, 2025
1 parent 2b9466e commit 694374d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 694374d

Please sign in to comment.