Skip to content

Commit d302ae4

Browse files
committed
final release fixes --no-bump
1 parent f15de16 commit d302ae4

File tree

3 files changed

+3
-30
lines changed

3 files changed

+3
-30
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ jobs:
8585
mkdir -p android
8686
echo "${{ secrets.env }}" | tr -d '\r' > lib/.env
8787
echo "${{ secrets.envgdart }}" | tr -d '\r' > lib/utils/env.g.dart
88-
echo "${{ secrets.keyproperties }}" | tr -d '\r' > android/key.properties
89-
echo "${{ secrets.uploadkeystore }}" | base64 -d > android/app/upload-keystore.jks
9088
echo "Created files:"
9189
ls -la lib/ lib/utils android/ android/app/
9290
@@ -113,20 +111,6 @@ jobs:
113111

114112
- name: Build and release
115113
run: fastforge release --name linux
116-
117-
- name: Remove APKs created during Linux build
118-
run: |
119-
VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //' | cut -d'+' -f1 | tr -d '\r')
120-
VERSION="$(echo -n "$VERSION" | tr -d '\r')"
121-
122-
# Only delete APKs from this job’s dist folder
123-
if [ -d "dist/$VERSION" ]; then
124-
echo "Cleaning APKs from dist/$VERSION ..."
125-
find "dist/$VERSION" -type f -name "*.apk" -delete
126-
fi
127-
128-
echo "Remaining Linux artifacts:"
129-
ls -la "dist/$VERSION" || echo "No dist folder found"
130114

131115
- name: Upload build artifacts
132116
uses: actions/upload-artifact@v4
@@ -136,21 +120,15 @@ jobs:
136120

137121
ANDROID:
138122
name: Android
139-
runs-on: ubuntu-22.04
123+
runs-on: ubuntu-latest
140124
environment: workflow
141-
needs: [VERSION_BUMP, LINUX]
125+
needs: [VERSION_BUMP]
142126
steps:
143127
- name: Checkout repository
144128
uses: actions/checkout@v4
145129
with:
146130
ref: ${{ github.ref }}
147131

148-
- name: Set up JDK 17
149-
uses: actions/setup-java@v3
150-
with:
151-
distribution: 'temurin'
152-
java-version: '17'
153-
154132
- name: Setup Flutter
155133
uses: subosito/flutter-action@v2
156134
with:

distribute_options.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@ output: dist/
22
releases:
33
- name: linux
44
jobs:
5-
- name: release-release-android-apk
6-
package:
7-
platform: android
8-
target: apk
9-
build_args:
10-
target-platform: android-arm,android-arm64
115
- name: release-release-linux-rpm
126
package:
137
platform: linux

lib/ui/library.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,6 +1547,7 @@ class _HistoryScreenState extends State<HistoryScreen> {
15471547
Track t = cache.history[cache.history.length - i - 1];
15481548
return TrackTile(
15491549
t,
1550+
key: Key('history_track_${t.id}'),
15501551
onTap: () {
15511552
GetIt.I<AudioPlayerHandler>().playFromTrackList(
15521553
cache.history.reversed.toList(),

0 commit comments

Comments
 (0)