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

CI actions - fixed Node16 #965

Merged
merged 6 commits into from
Oct 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@f4749f4f975e07ce2ee405c4508f11e9901b7b43
- uses: kentaro-m/auto-assign-action@248761c4feb3917c1b0444e33fad1a50093b9847
12 changes: 6 additions & 6 deletions .github/workflows/binary-combine-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,35 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch x86 build
uses: actions/download-artifact@v2
uses: actions/download-artifact@a327a9c763239d85dc3d78908dbf6ca74acd2e46
with:
name: librealm-android-x86
path: binary/android
- name: Fetch x86_64 build
uses: actions/download-artifact@v2
uses: actions/download-artifact@a327a9c763239d85dc3d78908dbf6ca74acd2e46
with:
name: librealm-android-x86_64
path: binary/android
- name: Fetch armeabi-v7a build
uses: actions/download-artifact@v2
uses: actions/download-artifact@a327a9c763239d85dc3d78908dbf6ca74acd2e46
with:
name: librealm-android-armeabi-v7a
path: binary/android
- name: Fetch arm64-v8a build
uses: actions/download-artifact@v2
uses: actions/download-artifact@a327a9c763239d85dc3d78908dbf6ca74acd2e46
with:
name: librealm-android-arm64-v8a
path: binary/android

- name: Store combined artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
with:
name: librealm-android
path: binary/android
retention-days: 1

- name: Delete individual build artifacts
uses: geekyeggo/delete-artifact@v1
uses: geekyeggo/delete-artifact@d5464431b27e231287c52139bde3f3c4e32c5622
with:
name: |
librealm-android-x86
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/binary-combine-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ jobs:

steps:
- name: Fetch device build
uses: actions/download-artifact@v2
uses: actions/download-artifact@a327a9c763239d85dc3d78908dbf6ca74acd2e46
with:
name: librealm-ios-device
path: binary/ios
- name: Fetch simulator build
uses: actions/download-artifact@v2
uses: actions/download-artifact@a327a9c763239d85dc3d78908dbf6ca74acd2e46
with:
name: librealm-ios-simulator
path: binary/ios
- name: Fetch catalyst build
uses: actions/download-artifact@v2
uses: actions/download-artifact@a327a9c763239d85dc3d78908dbf6ca74acd2e46
with:
name: librealm-ios-catalyst
path: binary/ios
Expand All @@ -35,14 +35,14 @@ jobs:
rm -rf ./binary/ios/Release-*

- name: Store .xcframework artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
with:
name: librealm-ios
path: binary/ios
retention-days: 1

- name: Delete individual framework artifacts
uses: geekyeggo/delete-artifact@v1
uses: geekyeggo/delete-artifact@d5464431b27e231287c52139bde3f3c4e32c5622
with:
name: |
librealm-ios-device
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
build: ${{ fromJSON(inputs.build) }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
with:
submodules: 'recursive'

Expand All @@ -40,7 +40,7 @@ jobs:

- name: Setup Ninja
if: contains(github.head_ref, 'release/') || steps.check-cache.outputs.cache-hit != 'true'
uses: seanmiddleditch/gha-setup-ninja@master
uses: seanmiddleditch/gha-setup-ninja@1815f2d05c2cd60c2d900f89843139b8dde09f4c

- name: Get vcpkg submodule commit sha
id: vcpkg_cache_key
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
cmake --build --preset ${{ matrix.build }} --config Release

- name: Store artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
with:
name: librealm-${{ matrix.build }}
path: binary/${{ inputs.binary }}/**
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
with:
submodules: false
- name: Enforce Changelog
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
BAAS_DIFFERENTIATOR: ${{ matrix.app }}${{ github.run_id }}${{ github.run_attempt }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
with:
submodules: false

Expand Down Expand Up @@ -276,15 +276,15 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
with:
submodules: 'recursive'

- name: Enable ccache
run: echo "PATH=/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" >> $GITHUB_ENV

- name: Fetch artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@a327a9c763239d85dc3d78908dbf6ca74acd2e46
with:
name: librealm-ios
path: binary/ios
Expand All @@ -298,7 +298,7 @@ jobs:
run: flutter pub get

- name: Launch Simulator
uses: futureware-tech/simulator-action@v1
uses: futureware-tech/simulator-action@v2
with:
model: 'iPhone 8'
os: 'iOS'
Expand Down Expand Up @@ -334,12 +334,12 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
with:
submodules: 'recursive'

- name: Fetch artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@a327a9c763239d85dc3d78908dbf6ca74acd2e46
with:
name: librealm-android
path: binary/android
Expand Down Expand Up @@ -413,7 +413,7 @@ jobs:
name: Generator Tests
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
with:
submodules: 'recursive'

Expand Down Expand Up @@ -481,7 +481,7 @@ jobs:
- name: Publish Generator Coverage
if: matrix.os == 'ubuntu'
id: publish-coverage
uses: coverallsapp/github-action@1.1.3
uses: coverallsapp/github-action@a1a1a8a300a7e89df3630639df8fb23de5cc6368
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: generator
Expand All @@ -501,7 +501,7 @@ jobs:

- name: Coveralls Finished
id: publish-coverage
uses: coverallsapp/github-action@1.1.3
uses: coverallsapp/github-action@a1a1a8a300a7e89df3630639df8fb23de5cc6368
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dart-desktop-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
with:
submodules: false

- name: Cleanup Workspace
run: git clean -fdx

- name: Fetch artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@a327a9c763239d85dc3d78908dbf6ca74acd2e46
with:
name: librealm-${{ inputs.os }}
path: binary/${{ inputs.os }}
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Publish realm_dart coverage
if: inputs.os == 'linux'
id: publish-coverage
uses: coverallsapp/github-action@1.1.3
uses: coverallsapp/github-action@a1a1a8a300a7e89df3630639df8fb23de5cc6368
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: realm_dart
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/flutter-desktop-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
with:
submodules: false

Expand All @@ -49,10 +49,10 @@ jobs:

- name: Setup Ninja
if: ${{ inputs.os == 'linux' }}
uses: seanmiddleditch/gha-setup-ninja@master
uses: seanmiddleditch/gha-setup-ninja@1815f2d05c2cd60c2d900f89843139b8dde09f4c

- name: Fetch artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@a327a9c763239d85dc3d78908dbf6ca74acd2e46
with:
name: librealm-${{ inputs.os }}
path: binary/${{ inputs.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
with:
submodules: false

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
with:
submodules: false

Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
shell: pwsh

- name: Upload release folder
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
with:
name: release-bundle
path: release/**
Expand Down Expand Up @@ -170,12 +170,12 @@ jobs:
- prepare-packages
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
with:
submodules: false

- name: Download release folder
uses: actions/download-artifact@v2
uses: actions/download-artifact@a327a9c763239d85dc3d78908dbf6ca74acd2e46
with:
name: release-bundle
path: release
Expand Down