Skip to content

Commit

Permalink
Update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
lijiahao committed Oct 24, 2024
1 parent f33fcfa commit 49d9b31
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,9 @@ on:

jobs:

cachedeps:
name: Generate cached sources
runs-on: ubuntu-latest
needs: ['tests']

steps:
# Intsall node tools
- uses: actions/checkout@v4
with:
repository: 'flatpak/flatpak-builder-tools'

- name: Install Python deps
run: pip3 install aiohttp toml

- name: Install flatpak-builder-tools
run: pipx install ./node/

# Generate sources
- name: Checkout Git repository
uses: actions/checkout@v4
with:
submodules: recursive
# clean: true

- name: Prep artifacts dir
run: mkdir ./deps-dist/

- name: Build yarn cache
run: flatpak-node-generator yarn yarn.lock -o ./deps-dist/yarn-sources.json

- uses: actions/upload-artifact@master
with:
name: flatpak-sources
path: ./deps-dist/

flatpak:
name: Flatpak Build
runs-on: ubuntu-latest
needs: [cachedeps]

container:
image: bilelmoussaoui/flatpak-github-actions:gnome-45
Expand Down

0 comments on commit 49d9b31

Please sign in to comment.