Skip to content

Commit

Permalink
fix ci scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Aug 17, 2022
1 parent da1d0cd commit b6069ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
test-ue-packaging:
name: Test UE ${{ matrix.unreal }} packaging
runs-on: ubuntu-latest
needs: [build]
needs: [build, package-validation]

strategy:
fail-fast: false
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,26 +41,24 @@ jobs:
path: |
${{ steps.env.outputs.path }}
modules/sentry-java/sentry-android-ndk/build/intermediates/merged_native_libs/release/out/lib
key: sdk=${{ inputs.target }}-${{ hashFiles('submodule-status', 'scripts/build-*.sh') }}
key: sdk=${{ inputs.target }}-${{ hashFiles('submodule-status', 'scripts/build-*.sh', '.github/workflows/sdk.yml') }}

- name: Install Linux Dependencies
if: ${{ inputs.target == 'Linux' && steps.cache.outputs.cache-hit != 'true' }}
run: |
sudo apt-get update
sudo apt-get install zlib1g-dev libcurl4-openssl-dev libssl-dev
- name: Checkout submodule
if: steps.cache.outputs.cache-hit != 'true'
run: git submodule update --init --recursive ${{ steps.env.outputs.submodule }}

- name: Build
if: steps.cache.outputs.cache-hit != 'true'
run: ${{ steps.env.outputs.buildScript }} '${{ steps.env.outputs.submodule }}' '${{ steps.env.outputs.path }}'
run: |
git submodule update --init --recursive ${{ steps.env.outputs.submodule }}
${{ steps.env.outputs.buildScript }} '${{ steps.env.outputs.submodule }}' '${{ steps.env.outputs.path }}'
- uses: actions/upload-artifact@v2
with:
name: ${{ inputs.target }}-sdk
path: ${{ steps.env.outputs.submodule }}
path: ${{ steps.env.outputs.path }}
retention-days: ${{ github.ref_name == 'main' && 14 || 1 }}

- uses: actions/upload-artifact@v2
Expand Down

0 comments on commit b6069ad

Please sign in to comment.