@@ -96,12 +96,14 @@ jobs:
96
96
echo "::notice::building master"
97
97
./gradlew assembleRelease
98
98
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
100
100
101
elif [[ "${{ inputs.style }}" -eq "2" ]]; then
101
102
cd "${{ github.workspace }}/extended/"
102
103
echo "::notice::building extended"
103
104
./gradlew assembleRelease
104
105
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/"
105
107
106
108
elif [[ "${{ inputs.style }}" -eq "3" ]]; then
107
109
echo "::notice::both master and extended are going to build"
@@ -110,6 +112,7 @@ jobs:
110
112
echo "::notice::building master"
111
113
./gradlew assembleRelease
112
114
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/"
113
116
114
117
cd "${{ github.workspace }}/extended"
115
118
echo "::notice::building extended"
@@ -121,6 +124,7 @@ jobs:
121
124
echo "::notice::building current"
122
125
./gradlew assembleRelease
123
126
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/"
124
128
fi
125
129
126
130
- name : Sign APK
@@ -167,7 +171,7 @@ jobs:
167
171
- name : Create release and upload
168
172
run : |
169
173
gh auth login --with-token <<<"${{ secrets.GITHUB_TOKEN }}"
170
- gh release create "v${version}" --title "${{ inputs.title }}" --notes-file ".github /changelog.md" --prerelease="true" --repo MaintainTeam/PipeBenderTests
174
+ gh release create "v${version}" --title "${{ inputs.title }}" --notes-file "./changelog.md" --prerelease="true" --repo MaintainTeam/PipeBenderTests
171
175
cd "${{ github.workspace }}/output/"
172
176
gh release upload "v${version}" "echo $(find . -name '*.apk' -type f -exec basename \{} \;) checksums.txt" --repo MaintainTeam/PipeBenderTests
173
177
0 commit comments