Skip to content

Commit a7fc73e

Browse files
authored
Merge pull request #6107 from mysteriumnetwork/fix-rpi-build
Fix raspberry Pi build process
2 parents ffd48ed + f94f7f1 commit a7fc73e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build-packages.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
with:
3333
go-version: '1.21.x'
3434

35-
- name: Prepare environment
35+
- name: Prepare environment
3636
run: |
3737
RELEASE_BUILD=false
3838
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then RELEASE_BUILD=true; fi
39-
39+
4040
RC_BUILD=false
4141
if [[ "${GITHUB_REF}" == refs/tags/*-rc* ]]; then RC_BUILD=true; fi
4242
@@ -46,11 +46,11 @@ jobs:
4646
PR_BUILD=false
4747
if [[ "${SNAPSHOT_BUILD}" == "false" && "${RELEASE_BUILD}" == "false" ]]; then PR_BUILD=true; fi
4848
49-
if [[ "${RELEASE_BUILD}" == "true" ]]; then
49+
if [[ "${RELEASE_BUILD}" == "true" ]]; then
5050
BUILD_VERSION="${GITHUB_REF#refs/tags/}";
5151
elif [[ "${SNAPSHOT_BUILD}" == "true" ]]; then
52-
BUILD_VERSION="$(git describe --abbrev=0 --tags)"-1snapshot-"$(date '+%Y%m%dT%H%M')"-"$(echo ${GITHUB_SHA} | cut -c1-8)";
53-
elif [[ "${PR_BUILD}" == "true" ]]; then
52+
BUILD_VERSION="$(git describe --abbrev=0 --tags)"-1snapshot-"$(date '+%Y%m%dT%H%M')"-"$(echo ${GITHUB_SHA} | cut -c1-8)";
53+
elif [[ "${PR_BUILD}" == "true" ]]; then
5454
BRANCH="${GITHUB_HEAD_REF////-}"
5555
if [[ "${BRANCH}" == "" ]]; then BRANCH="${GITHUB_REF_NAME}"; fi
5656
BUILD_VERSION="$(git describe --abbrev=0 --tags)"-1branch-"${BRANCH}";
@@ -81,7 +81,7 @@ jobs:
8181
go run mage.go -v MakeBucket
8282
8383
build-packages:
84-
runs-on: ubuntu-latest
84+
runs-on: ubuntu-22.04
8585
needs: [setup-env]
8686

8787
strategy:
@@ -116,7 +116,7 @@ jobs:
116116
sudo apt-get update
117117
sudo apt-get install ruby-dev build-essential
118118
sudo gem i fpm -f
119-
119+
120120
- name: Build package
121121
run: |
122122
source env.sh

0 commit comments

Comments
 (0)