Skip to content

Commit

Permalink
install libgetargv before build job
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Nov 30, 2023
1 parent 03d1b27 commit 540b0fb
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,31 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
repository: getargv/getargv
path: getargv
token: ${{ secrets.GH_PAT }}
- name: Build libgetargv
run: make install_dylib
working-directory: getargv
- uses: actions/checkout@v4
with:
path: getargv.cpp
- name: make library
run: make dylib
working-directory: getargv.cpp
- name: make installer
run: make dmg
working-directory: getargv.cpp
- name: rename dmg
run: mv pkg/*.dmg pkg/getargv-${{ matrix.os }}.dmg
working-directory: getargv.cpp
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}.zip
path: |
pkg/*.pkg
pkg/*.dmg
getargv.cpp/pkg/*.pkg
getargv.cpp/pkg/*.dmg
release:
if: ${{ github.ref_type == 'tag' }}
Expand Down

0 comments on commit 540b0fb

Please sign in to comment.