From 99c1a686b71b8cbe03e50e37e165462c0e865369 Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Fri, 15 Sep 2023 11:03:28 +0600 Subject: [PATCH] cd: add github release upload capability --- .circleci/config.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4c79185b..bb4e992a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,8 @@ version: 2.1 +orbs: + gh: circleci/github-cli@2.2.0 + jobs: flutter_linux_arm: machine: @@ -7,6 +10,7 @@ jobs: resource_class: arm.medium steps: - checkout + - gh/setup - run: name: Install dependencies command: | @@ -37,7 +41,7 @@ jobs: - run: name: Replace texts in files command: | - echo "build_arch: arm64" >> linux/packaging/rpm/make_config.yaml + echo "build_arch: aarch64" >> linux/packaging/rpm/make_config.yaml - run: name: Generate .env file @@ -79,6 +83,11 @@ jobs: - store_artifacts: path: Spotube-linux-aarch64.zip + - run: + name: Upload to release + command: | + gh release upload nightly bundle/* --clobber + workflows: build_flutter_for_arm_workflow: jobs: