Skip to content

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #166

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #166

name: Integration Tests
on:
pull_request:
branches:
- main
jobs:
build:
name: Build
runs-on: macos-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
with:
go-version: '1.19.3'
cache: true
- run: go build -o ipatool
env:
CGO_CFLAGS: -mmacosx-version-min=10.15
CGO_LDFLAGS: -mmacosx-version-min=10.15
- uses: actions/upload-artifact@v2
with:
name: ipatool
path: ipatool
if-no-files-found: error
test:
name: Test
runs-on: macos-latest
needs: [build]
strategy:
fail-fast: false
matrix:
command: [auth, download, purchase, search]
steps:
- uses: actions/[email protected]
with:
name: ipatool
path: build
- run: chmod +x ./build/ipatool
- run: ./build/ipatool ${{ matrix.command }} --help