Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actions/upload-artifact to v4.x #45477

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/actions/build-android/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ runs:
fi
./gradlew publishAllToMavenTempLocal build -PenableWarningsAsErrors=true
- name: Upload Maven Artifacts
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
with:
name: maven-local-build-android
path: /tmp/maven-local
- name: Upload test results
if: ${{ always() }}
uses: actions/upload-artifact@v4.3.0
uses: actions/upload-artifact@v4
with:
name: build-android-results
compression-level: 1
Expand All @@ -49,7 +49,7 @@ runs:
packages/react-native/ReactAndroid/build/reports
- name: Upload RNTester APK
if: ${{ always() }}
uses: actions/upload-artifact@v4.3.0
uses: actions/upload-artifact@v4
with:
name: rntester-apk
path: packages/rn-tester/android/app/build/outputs/apk/
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/build-apple-slices-hermes/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ runs:
exit 1
fi
- name: Upload Artifact for Slice (${{ inputs.SLICE }}, ${{ inputs.FLAVOR }}}
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
with:
name: slice-${{ inputs.SLICE }}-${{ inputs.FLAVOR }}
path: ./packages/react-native/sdks/hermes/build_${{ inputs.SLICE }}_${{ inputs.FLAVOR }}
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/build-hermes-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,17 +171,17 @@ runs:
mkdir -p "$DEST_DIR"
mv "hermes.framework.dSYM" "$DEST_DIR"
- name: Upload hermes dSYM artifacts
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
with:
name: hermes-dSYM-${{ inputs.FLAVOR }}
path: /tmp/hermes/dSYM/${{ inputs.FLAVOR }}
- name: Upload hermes Runtime artifacts
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
with:
name: hermes-darwin-bin-${{ inputs.FLAVOR }}
path: /tmp/hermes/hermes-runtime-darwin/hermes-ios-${{ inputs.FLAVOR }}.tar.gz
- name: Upload hermes osx artifacts
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
with:
name: hermes-osx-bin-${{ inputs.FLAVOR }}
path: /tmp/hermes/osx-bin/${{ inputs.FLAVOR }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/build-hermesc-apple/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
. ./utils/build-apple-framework.sh
build_host_hermesc_if_needed
- name: Upload HermesC Artifact
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
with:
name: hermesc-apple
path: ./packages/react-native/sdks/hermes/build_host_hermesc
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/build-hermesc-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ runs:
cp /tmp/hermes/build/bin/hermesc /tmp/hermes/linux64-bin/.
fi
- name: Upload linux artifacts
uses: actions/upload-artifact@v4.3.0
uses: actions/upload-artifact@v4
with:
name: hermes-linux-bin
path: /tmp/hermes/linux64-bin
2 changes: 1 addition & 1 deletion .github/actions/build-hermesc-windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ runs:
Write-Host "Skipping; Clean c:\tmp\hermes\win64-bin to rebuild."
}
- name: Upload windows artifacts
uses: actions/upload-artifact@v4.3.0
uses: actions/upload-artifact@v4
with:
name: hermes-win64-bin
path: D:\tmp\hermes\win64-bin\
4 changes: 2 additions & 2 deletions .github/actions/test-ios-rntester/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ runs:
XCRESULT_PATH=$(find . -name '*.xcresult')
tar -zcvf xcresults.tar.gz $XCRESULT_PATH
- name: Upload artifact
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v4
if: ${{ inputs.run-unit-tests == 'true' }}
with:
name: xcresults
Expand All @@ -146,7 +146,7 @@ runs:
platform: ios
- name: Store test results
if: ${{ inputs.run-unit-tests == 'true' }}
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v4
with:
name: test-results
path: ./reports/junit
6 changes: 3 additions & 3 deletions .github/actions/test-js/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: test-js
description: Runs all the JS tests in the codebase
inputs:
node-version:
description: 'The node.js version to use'
description: "The node.js version to use"
required: false
default: '18'
default: "18"
runs:
using: composite
steps:
Expand All @@ -20,7 +20,7 @@ runs:
run: node ./scripts/run-ci-javascript-tests.js --maxWorkers 2
- name: Upload test results
if: ${{ always() }}
uses: actions/upload-artifact@v4.3.0
uses: actions/upload-artifact@v4
with:
name: test-js-results
compression-level: 1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,12 +284,12 @@ jobs:
working-directory: /tmp
run: zip -r maven-local.zip maven-local
- name: Upload Maven Artifacts
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
with:
name: maven-local
path: /tmp/maven-local.zip
- name: Upload npm logs
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
with:
name: npm-logs
path: ~/.npm/_logs
Expand All @@ -303,7 +303,7 @@ jobs:

echo $FILENAME > build/react-native-package-version
- name: Upload release package
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
if: needs.set_release_type.outputs.RELEASE_TYPE == 'dry-run'
with:
name: react-native-package
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,12 @@ jobs:
working-directory: /tmp
run: zip -r maven-local.zip maven-local
- name: Upload Maven Artifacts
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
with:
name: maven-local
path: /tmp/maven-local.zip
- name: Upload npm logs
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
with:
name: npm-logs
path: ~/.npm/_logs
Expand All @@ -309,7 +309,7 @@ jobs:

echo $FILENAME > build/react-native-package-version
- name: Upload release package
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
if: needs.set_release_type.outputs.RELEASE_TYPE == 'dry-run'
with:
name: react-native-package
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -370,12 +370,12 @@ jobs:
working-directory: /tmp
run: zip -r maven-local.zip maven-local
- name: Upload Maven Artifacts
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
with:
name: maven-local
path: /tmp/maven-local.zip
- name: Upload npm logs
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
with:
name: npm-logs
path: ~/.npm/_logs
Expand All @@ -389,7 +389,7 @@ jobs:

echo $FILENAME > build/react-native-package-version
- name: Upload release package
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
if: needs.set_release_type.outputs.RELEASE_TYPE == 'dry-run'
with:
name: react-native-package
Expand Down Expand Up @@ -479,7 +479,7 @@ jobs:
echo "Projects folder:"
du -hs ./packages/*
- name: Upload artifact
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4
with:
name: helloworld-apk-${{ matrix.flavor }}-${{ matrix.architecture }}-${{ matrix.jsengine }}
path: ./packages/helloworld/android/app/build/outputs/apk/
Expand Down
Loading