mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-12-09 08:47:31 +00:00
cd: add github release upload capability
This commit is contained in:
parent
103cf48fd7
commit
99c1a686b7
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user