migrated to artifacts v4

This commit is contained in:
Vadim 2025-01-23 18:33:30 +01:00
parent 2ee4d3ef53
commit 2a7dad2c38
3 changed files with 10 additions and 10 deletions

View file

@ -115,7 +115,7 @@ jobs:
- name: Download release notes - name: Download release notes
continue-on-error: true continue-on-error: true
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: ${{ env.RELEASE_NOTES_ARTIFACT_NAME }} name: ${{ env.RELEASE_NOTES_ARTIFACT_NAME }}
path: ${{ env.RELEASE_NOTES_PATH }} path: ${{ env.RELEASE_NOTES_PATH }}
@ -136,7 +136,7 @@ jobs:
run: flutter build ${{ inputs.binary-type }} $BUILD_ARGS run: flutter build ${{ inputs.binary-type }} $BUILD_ARGS
- name: Upload ${{ inputs.binary-type }} to artifacts - name: Upload ${{ inputs.binary-type }} to artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: m3_lightmeter_${{ inputs.binary-type }} name: m3_lightmeter_${{ inputs.binary-type }}
path: ${{ inputs.binary-type == 'apk' && env.BUILD_APK_PATH || env.BUILD_AAB_PATH }} path: ${{ inputs.binary-type == 'apk' && env.BUILD_APK_PATH || env.BUILD_AAB_PATH }}

View file

@ -108,7 +108,7 @@ jobs:
- name: Download release notes - name: Download release notes
continue-on-error: true continue-on-error: true
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: ${{ env.RELEASE_NOTES_ARTIFACT_NAME }} name: ${{ env.RELEASE_NOTES_ARTIFACT_NAME }}
path: ${{ env.RELEASE_NOTES_PATH }} path: ${{ env.RELEASE_NOTES_PATH }}
@ -135,7 +135,7 @@ jobs:
--export-options-plist=ios/Runner/ExportOptions.plist --export-options-plist=ios/Runner/ExportOptions.plist
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: m3_lightmeter_ipa name: m3_lightmeter_ipa
path: build/ios/ipa/lightmeter.ipa path: build/ios/ipa/lightmeter.ipa

View file

@ -69,7 +69,7 @@ jobs:
echo ${{ inputs.release-notes }} > ${{ env.RELEASE_NOTES_FILE }} echo ${{ inputs.release-notes }} > ${{ env.RELEASE_NOTES_FILE }}
perl -i -pe 's/\s{1}(-{1})/\n$1/g' ${{ env.RELEASE_NOTES_FILE }} perl -i -pe 's/\s{1}(-{1})/\n$1/g' ${{ env.RELEASE_NOTES_FILE }}
- name: Upload merged_native_libs.zip to artifacts - name: Upload merged_native_libs.zip to artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: ${{ env.RELEASE_NOTES_ARTIFACT_NAME }} name: ${{ env.RELEASE_NOTES_ARTIFACT_NAME }}
path: ${{ env.RELEASE_NOTES_FILE }} path: ${{ env.RELEASE_NOTES_FILE }}
@ -112,12 +112,12 @@ jobs:
submodules: recursive submodules: recursive
- name: Download apk - name: Download apk
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: m3_lightmeter_apk name: m3_lightmeter_apk
- name: Download release notes - name: Download release notes
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: ${{ env.RELEASE_NOTES_ARTIFACT_NAME }} name: ${{ env.RELEASE_NOTES_ARTIFACT_NAME }}
path: ${{ env.RELEASE_NOTES_PATH }} path: ${{ env.RELEASE_NOTES_PATH }}
@ -161,7 +161,7 @@ jobs:
submodules: recursive submodules: recursive
- name: Download app bundle - name: Download app bundle
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: m3_lightmeter_appbundle name: m3_lightmeter_appbundle
@ -171,7 +171,7 @@ jobs:
(cd base/lib && zip -r "$OLDPWD/merged_native_libs.zip" .) (cd base/lib && zip -r "$OLDPWD/merged_native_libs.zip" .)
- name: Download release notes - name: Download release notes
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: ${{ env.RELEASE_NOTES_ARTIFACT_NAME }} name: ${{ env.RELEASE_NOTES_ARTIFACT_NAME }}
@ -213,7 +213,7 @@ jobs:
submodules: recursive submodules: recursive
- name: Download ipa - name: Download ipa
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: m3_lightmeter_ipa name: m3_lightmeter_ipa