diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7a833b8..b9d8a28 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [20.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} @@ -74,7 +74,7 @@ jobs: mkdir android cp platforms/android/app/build/outputs/bundle/$BUILD_TYPE/app-$BUILD_TYPE.aab android/app-$BUILD_TYPE.aab cp platforms/android/app/build/outputs/apk/$BUILD_TYPE/app-$BUILD_TYPE.apk android/app-$BUILD_TYPE.apk - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: android path: android @@ -95,7 +95,7 @@ jobs: if [[ $BRANCH == 'main' ]]; then export REACT_APP_LIGHTWEIGHT_URL=$LIGHTWEIGHT_URL_PROD ; else export REACT_APP_LIGHTWEIGHT_URL=$LIGHTWEIGHT_URL_DEV; fi if [[ $BRANCH == 'main' ]]; then export REACT_APP_SHOW_VERSION_COMMIT='false' ; else export REACT_APP_SHOW_VERSION_COMMIT='true'; fi yarn run build - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: www path: www @@ -110,7 +110,7 @@ jobs: export BRANCH=${GITHUB_REF##*/} if [[ $BRANCH == 'main' ]]; then export REACT_APP_SHOW_VERSION_COMMIT='false' ; else export REACT_APP_SHOW_VERSION_COMMIT='true'; fi yarn run build - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: internal path: internal @@ -119,13 +119,13 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [20.x] steps: - name: Checkout repository - uses: actions/checkout@v3 - - uses: actions/download-artifact@master + uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 - name: Install node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Run-Test @@ -157,12 +157,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [20.x] if: github.ref == 'refs/heads/main' steps: - name: Checkout repository - uses: actions/checkout@v3 - - uses: actions/download-artifact@master + uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: name: android path: android @@ -183,7 +183,7 @@ jobs: echo "VERSION=$version" >> $GITHUB_OUTPUT - name: Create Release id: create_release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: