Skip to content

Commit

Permalink
Update gen5.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xplshn authored Nov 10, 2024
1 parent af18b73 commit 6422c06
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/gen5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,19 +95,6 @@ jobs:
name: app-bundles
path: ${{ env.OUT_DIR }}/*.AppBundle

- name: Generate metadata
run: |
set -x
wget "https://huggingface.co/datasets/pkgforge/pkgcache/resolve/main/FLATPAK_APPSTREAM.xml"
chmod +x ${{ github.workspace }}/.local/bin/appstream-helper
${{ github.workspace }}/.local/bin/appstream-helper --components-xml ./FLATPAK_APPSTREAM.xml --input-dir "${{ github.workspace }}" --output-dir "${{ github.workspace }}/APPBUNDLES_META" --output-file "${{ github.workspace }}/APPBUNDLES_META/metadata.json" --download-url-prefix "https://github.com/xplshn/AppBundleHUB/releases/download/${{ env.TAG_NAME }}/" --metadata-prefix "https://github.com/xplshn/AppBundleHUB/releases/download/latest_metadata/"
- name: Upload metadata artifact
uses: actions/upload-artifact@v4
with:
name: metadata
path: ${{ github.workspace }}/APPBUNDLES_META/*

publish_appbundles:
name: Publish AppBundles
runs-on: ubuntu-latest
Expand All @@ -130,6 +117,19 @@ jobs:
name: appstream-helper
path: ${{ github.workspace }}/.local/bin

- name: Generate metadata
run: |
set -x
wget "https://huggingface.co/datasets/pkgforge/pkgcache/resolve/main/FLATPAK_APPSTREAM.xml"
chmod +x ${{ github.workspace }}/.local/bin/appstream-helper
${{ github.workspace }}/.local/bin/appstream-helper --components-xml ./FLATPAK_APPSTREAM.xml --input-dir "${{ github.workspace }}" --output-dir "${{ github.workspace }}/APPBUNDLES_META" --output-file "${{ github.workspace }}/APPBUNDLES_META/metadata.json" --download-url-prefix "https://github.com/xplshn/AppBundleHUB/releases/download/${{ env.TAG_NAME }}/" --metadata-prefix "https://github.com/xplshn/AppBundleHUB/releases/download/latest_metadata/"
- name: Upload metadata artifact
uses: actions/upload-artifact@v4
with:
name: metadata
path: ${{ github.workspace }}/APPBUNDLES_META/*

- name: Manage Tags
if: ${{ github.event.inputs.release == 'true' }}
run: |
Expand Down

0 comments on commit 6422c06

Please sign in to comment.