mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-01-31 09:40:41 +00:00
Migrated to artifacts v4 (#213)
* fixed builds being pushed to main * restore firebase options in workflows * moved firebase options to gitignore * restore firebase options in workflows * moved firebase options to gitignore * migrated to artifacts v4
This commit is contained in:
parent
38407d6c08
commit
6ddb779679
3 changed files with 10 additions and 10 deletions
4
.github/workflows/build_apk.yml
vendored
4
.github/workflows/build_apk.yml
vendored
|
@ -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 }}
|
||||||
|
|
4
.github/workflows/build_ipa.yml
vendored
4
.github/workflows/build_ipa.yml
vendored
|
@ -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
|
||||||
|
|
12
.github/workflows/create_release.yml
vendored
12
.github/workflows/create_release.yml
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue