Skip to content

Commit

Permalink
upgarde actions/upload-artifact to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
pinocchio-life-like committed Jan 16, 2025
1 parent b6264ba commit e00ebf2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/eas-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: EAS Local Build
on:
workflow_dispatch:
push:
branches: [ "**" ]
branches: ['**']
paths:
- 'packages/app/**'
- 'apps/expo/**'
- 'packages/ui/**'
- 'packages/config/**'
- 'packages/crosspath/**'
pull_request:
branches: [ "**" ]
branches: ['**']
paths:
- 'packages/app/**'
- 'apps/expo/**'
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: ./.github/actions/find-or-create-comment
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Standard Environment
uses: ./.github/actions/setup-standard-environment
Expand All @@ -69,19 +69,18 @@ jobs:
EXPO_PUBLIC_ANDROID_CLIENT_ID: ${{ secrets.EXPO_PUBLIC_ANDROID_CLIENT_ID }}

- name: Upload APK
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: android-apk
path: /home/runner/work/PackRat/PackRat/apps/expo/build-*.apk

- name: Update build status
if: always() && github.event_name == 'pull_request'
uses: ./.github/actions/update-native-preview-build-status
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
build-outcome: ${{ steps.build.outcome }}
github-token: ${{ secrets.GITHUB_TOKEN }}
build-outcome: ${{ steps.build.outcome }}


build-ios:
runs-on: macos-latest

Expand All @@ -97,7 +96,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: ./.github/actions/find-or-create-comment
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Standard Environment
uses: ./.github/actions/setup-standard-environment
Expand All @@ -119,15 +118,14 @@ jobs:
EXPO_PUBLIC_IOS_CLIENT_ID: ${{ secrets.EXPO_PUBLIC_IOS_CLIENT_ID }}

- name: Upload IPA
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ios-ipa
path: /Users/runner/work/PackRat/PackRat/apps/expo/build-*.ipa

- name: Update build status
if: always() && github.event_name == 'pull_request'
uses: ./.github/actions/update-native-preview-build-status
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
build-outcome: ${{ steps.build.outcome }}

github-token: ${{ secrets.GITHUB_TOKEN }}
build-outcome: ${{ steps.build.outcome }}
2 changes: 1 addition & 1 deletion .github/workflows/tauri-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
args: ${{ matrix.args }}

- name: Upload Tauri Artifacts (RPM and DEB)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: tauri-artifacts-${{ matrix.platform }}
path: |
Expand Down

0 comments on commit e00ebf2

Please sign in to comment.