Skip to content

Commit

Permalink
ci: update actions to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP committed Feb 22, 2024
1 parent c5f1e25 commit 16af477
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: npm install
- run: npm test
test-yarn:
Expand All @@ -25,7 +25,7 @@ jobs:
outputs:
rn-version: ${{ steps.rn-version.outputs.value }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: react-native-hcaptcha
- run: npx react-native init rnexample
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
run: |
RN_VERSION=$(cat package.json | jq ".dependencies.\"react-native\"" -r)
echo "value=${RN_VERSION}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: rnexample/react-native-hcaptcha
- name: Run npm install ...
Expand All @@ -89,7 +89,7 @@ jobs:
working-directory: rnexample
- run: ./gradlew assemble
working-directory: rnexample/android
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: apks
path: rnexample/android/app/build/outputs/apk/release/app-release.apk
Expand All @@ -98,7 +98,7 @@ jobs:
needs: [test-npm, test-yarn]
if: always() && github.event == 'schedule' && (needs.test-npm.result == 'failure' || needs.test-yarn.result == 'failure')
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
RN_VERSION="${{ needs.test-npm.outputs.rn-version || needs.test-yarn.outputs.rn-version }}"
GHA_RUN_URL="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
Expand Down

0 comments on commit 16af477

Please sign in to comment.