mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-12-11 01:17:30 +00:00
cd: add github release upload capability
This commit is contained in:
parent
103cf48fd7
commit
99c1a686b7
@ -1,5 +1,8 @@
|
|||||||
version: 2.1
|
version: 2.1
|
||||||
|
|
||||||
|
orbs:
|
||||||
|
gh: circleci/github-cli@2.2.0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
flutter_linux_arm:
|
flutter_linux_arm:
|
||||||
machine:
|
machine:
|
||||||
@ -7,6 +10,7 @@ jobs:
|
|||||||
resource_class: arm.medium
|
resource_class: arm.medium
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- gh/setup
|
||||||
- run:
|
- run:
|
||||||
name: Install dependencies
|
name: Install dependencies
|
||||||
command: |
|
command: |
|
||||||
@ -37,7 +41,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Replace texts in files
|
name: Replace texts in files
|
||||||
command: |
|
command: |
|
||||||
echo "build_arch: arm64" >> linux/packaging/rpm/make_config.yaml
|
echo "build_arch: aarch64" >> linux/packaging/rpm/make_config.yaml
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Generate .env file
|
name: Generate .env file
|
||||||
@ -79,6 +83,11 @@ jobs:
|
|||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: Spotube-linux-aarch64.zip
|
path: Spotube-linux-aarch64.zip
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: Upload to release
|
||||||
|
command: |
|
||||||
|
gh release upload nightly bundle/* --clobber
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
build_flutter_for_arm_workflow:
|
build_flutter_for_arm_workflow:
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user