Skip to content

Commit 694374d

Browse files
authoredJan 21, 2025
last?
1 parent 2b9466e commit 694374d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎.github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ jobs:
9696
echo "::notice::building master"
9797
./gradlew assembleRelease
9898
mv "${{ github.workspace }}/master/app/build/outputs/apk/release/app-release-unsigned.apk" "${{ github.workspace }}/output/master.apk"
99-
cp "./github/changelog.md" "${{ github.workspace }}/output/"
99+
cp "./.github/changelog.md" "${{ github.workspace }}/output/"
100100
101101
elif [[ "${{ inputs.style }}" -eq "2" ]]; then
102102
cd "${{ github.workspace }}/extended/"
103103
echo "::notice::building extended"
104104
./gradlew assembleRelease
105105
mv "${{ github.workspace }}/extended/app/build/outputs/apk/release/app-release-unsigned.apk" "${{ github.workspace }}/output/extended.apk"
106-
cp "./github/changelog.md" "${{ github.workspace }}/output/"
106+
cp "./.github/changelog.md" "${{ github.workspace }}/output/"
107107
108108
elif [[ "${{ inputs.style }}" -eq "3" ]]; then
109109
echo "::notice::both master and extended are going to build"
@@ -112,7 +112,7 @@ jobs:
112112
echo "::notice::building master"
113113
./gradlew assembleRelease
114114
mv "${{ github.workspace }}/master/app/build/outputs/apk/release/app-release-unsigned.apk" "${{ github.workspace }}/output/master.apk"
115-
cp "./github/changelog.md" "${{ github.workspace }}/output/"
115+
cp "./.github/changelog.md" "${{ github.workspace }}/output/"
116116
117117
cd "${{ github.workspace }}/extended"
118118
echo "::notice::building extended"
@@ -124,7 +124,7 @@ jobs:
124124
echo "::notice::building current"
125125
./gradlew assembleRelease
126126
mv "${{ github.workspace }}/current/app/build/outputs/apk/release/app-release-unsigned.apk" "${{ github.workspace }}/output/current.apk"
127-
cp "./github/changelog.md" "${{ github.workspace }}/output/"
127+
cp "./.github/changelog.md" "${{ github.workspace }}/output/"
128128
fi
129129
130130
- name: Sign APK
@@ -171,9 +171,9 @@ jobs:
171171
- name: Create release and upload
172172
run: |
173173
gh auth login --with-token <<<"${{ secrets.GITHUB_TOKEN }}"
174-
gh release create "v${version}" --title "${{ inputs.title }}" --notes-file "./changelog.md" --prerelease="true" --repo MaintainTeam/PipeBenderTests
175174
cd "${{ github.workspace }}/output/"
176-
gh release upload "v${version}" "echo $(find . -name '*.apk' -type f -exec basename \{} \;) checksums.txt" --repo MaintainTeam/PipeBenderTests
175+
gh release create "v${version}" --title "${{ inputs.title }}" --notes-file "./changelog.md" --prerelease="true" --repo MaintainTeam/PipeBenderTests
176+
gh release upload "v${version}" $(echo $(find . -name '*.apk' -type f -exec basename \{} \;) checksums.txt) --repo MaintainTeam/PipeBenderTests
177177
178178
- name: Archive reports for job
179179
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)