|
|
@ -122,35 +122,35 @@ jobs: |
|
|
|
path: packages/neon/build/linux/x64/release/bundle/* |
|
|
|
path: packages/neon/build/linux/x64/release/bundle/* |
|
|
|
if-no-files-found: error |
|
|
|
if-no-files-found: error |
|
|
|
|
|
|
|
|
|
|
|
linux_arm64: |
|
|
|
# linux_arm64: |
|
|
|
name: Linux arm64 |
|
|
|
# name: Linux arm64 |
|
|
|
runs-on: ubuntu-22.04 |
|
|
|
# runs-on: ubuntu-22.04 |
|
|
|
needs: setup |
|
|
|
# needs: setup |
|
|
|
steps: |
|
|
|
# steps: |
|
|
|
- name: Checkout |
|
|
|
# - name: Checkout |
|
|
|
uses: actions/checkout@v2 |
|
|
|
# uses: actions/checkout@v2 |
|
|
|
- name: Set docker image |
|
|
|
# - name: Set docker image |
|
|
|
id: docker_image |
|
|
|
# id: docker_image |
|
|
|
run: | |
|
|
|
# run: | |
|
|
|
echo "local=nextcloud-neon-build-linux-arm64:${{ needs.setup.outputs.flutter_version }}" >> $GITHUB_OUTPUT |
|
|
|
# echo "local=nextcloud-neon-build-linux-arm64:${{ needs.setup.outputs.flutter_version }}" >> $GITHUB_OUTPUT |
|
|
|
echo "remote=ghcr.io/$GITHUB_REPOSITORY/build-linux-arm64:${{ needs.setup.outputs.flutter_version }}" >> $GITHUB_OUTPUT |
|
|
|
# echo "remote=ghcr.io/$GITHUB_REPOSITORY/build-linux-arm64:${{ needs.setup.outputs.flutter_version }}" >> $GITHUB_OUTPUT |
|
|
|
- run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin |
|
|
|
# - run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin |
|
|
|
- name: Set up QEMU |
|
|
|
# - name: Set up QEMU |
|
|
|
uses: docker/setup-qemu-action@v2 |
|
|
|
# uses: docker/setup-qemu-action@v2 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
platforms: arm64 |
|
|
|
# platforms: arm64 |
|
|
|
- name: Set up Docker Buildx |
|
|
|
# - name: Set up Docker Buildx |
|
|
|
uses: docker/setup-buildx-action@v2 |
|
|
|
# uses: docker/setup-buildx-action@v2 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
platforms: linux/arm64 |
|
|
|
# platforms: linux/arm64 |
|
|
|
|
|
|
|
# |
|
|
|
- name: Build |
|
|
|
# - name: Build |
|
|
|
env: |
|
|
|
# env: |
|
|
|
FLUTTER_VERSION: ${{ needs.setup.outputs.flutter_version }} |
|
|
|
# FLUTTER_VERSION: ${{ needs.setup.outputs.flutter_version }} |
|
|
|
run: ./tool/build-neon.sh linux/arm64 --build-number="${{ needs.setup.outputs.build_number }}" |
|
|
|
# run: ./tool/build-neon.sh linux/arm64 --build-number="${{ needs.setup.outputs.build_number }}" |
|
|
|
|
|
|
|
# |
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
|
# - uses: actions/upload-artifact@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
name: Linux arm64 |
|
|
|
# name: Linux arm64 |
|
|
|
path: packages/neon/build/linux/arm64/release/bundle/* |
|
|
|
# path: packages/neon/build/linux/arm64/release/bundle/* |
|
|
|
if-no-files-found: error |
|
|
|
# if-no-files-found: error |
|
|
|