Skip to content

Commit

Permalink
Upload env artifact + cache it
Browse files Browse the repository at this point in the history
  • Loading branch information
yousseb committed Oct 22, 2023
1 parent 8a8ff20 commit 54029e1
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,23 @@ jobs:
ln -sf $PWD/osx/jhbuildrc-custom $HOME/.jhbuildrc-custom
/bin/bash -c "$(curl -fsSL https://gitlab.gnome.org/GNOME/gtk-osx/raw/master/gtk-osx-setup.sh)"
- uses: actions/cache@v3
with:
path: |
/Users/runner/gtk
key: ${{ runner.os }}-${{ hashFiles('osx/jhbuildrc-custom') }}-${{ hashFiles('osx/build_env.sh') }}

- name: Build Environment
run: |
cd osx && /bin/bash ./build_env.sh
echo Building in $HOME/gtk/inst
cd osx && /bin/bash ./build_env.sh
- name: FIX gir
run: |
cd osx && /bin/bash ./fix_gir.sh
- name: Upload Environment
uses: actions/[email protected]
with:
name: Environment
path: /Users/runner/gtk

0 comments on commit 54029e1

Please sign in to comment.