mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-14 17:55:17 -04:00
Actions: fix Flatpak source file patterns for jq (#5415)
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -391,14 +391,14 @@ jobs:
|
||||
--no-configuration-cache --refresh-dependencies --no-parallel
|
||||
|
||||
- name: List Flatpak source files
|
||||
run: ls -R flatpak-sources*.json
|
||||
run: ls -R flatpak-sources-*.json
|
||||
|
||||
- name: Upload Flatpak source artifacts
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: flatpak-multisrc-${{ runner.arch }}
|
||||
path: flatpak-sources*.json
|
||||
path: flatpak-sources-*.json
|
||||
retention-days: 1
|
||||
|
||||
release-flatpak-src:
|
||||
@@ -413,11 +413,11 @@ jobs:
|
||||
merge-multiple: true
|
||||
|
||||
- name: List Flatpak source files
|
||||
run: ls -R flatpak-sources*.json
|
||||
run: ls -R flatpak-sources-*.json
|
||||
|
||||
- name: Combine Flatpak source files
|
||||
run: >
|
||||
jq -s 'add | unique_by(.dest + "/" + .["dest-filename"])' flatpak-sources*.json
|
||||
jq -s 'add | unique_by(.dest + "/" + .["dest-filename"])' flatpak-sources-*.json
|
||||
> flatpak-sources.json
|
||||
|
||||
- name: Upload combined Flatpak source artifact
|
||||
|
||||
4
.github/workflows/reusable-check.yml
vendored
4
.github/workflows/reusable-check.yml
vendored
@@ -557,12 +557,12 @@ jobs:
|
||||
./gradlew :build-logic:convention:flatpakGradleGenerator flatpakGradleGenerator
|
||||
--no-configuration-cache --refresh-dependencies --no-parallel
|
||||
|
||||
- run: ls -lah flatpak-sources*.json
|
||||
- run: ls -lah flatpak-sources-*.json
|
||||
|
||||
- name: Upload Flatpak Sources
|
||||
if: ${{ inputs.upload_artifacts }}
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: flatpak-sources-${{ runner.arch }}
|
||||
path: flatpak-sources*.json
|
||||
path: flatpak-sources-*.json
|
||||
retention-days: 7
|
||||
|
||||
Reference in New Issue
Block a user