Skip to content

Commit 8d0cdcb

Browse files
committed
Workaround Gitlab user chown
1 parent 72d2fe9 commit 8d0cdcb

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.github/workflows/build-packages.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ jobs:
2424
with:
2525
fetch-depth: 0
2626
fetch-tags: true
27-
- name: Setup Go
28-
uses: actions/setup-go@v5
29-
with:
30-
go-version: '1.21.x'
3127

3228
- name: Prepare environment
3329
run: |
@@ -61,14 +57,6 @@ jobs:
6157
export BUILD_VERSION=$BUILD_VERSION;
6258
EOT
6359
64-
65-
# - name: Generate env file
66-
# run: go run mage.go -v GenerateEnvFile
67-
68-
# - name: Create bucket
69-
# if: github.event_name == 'push'
70-
# run: go run mage.go -v MakeBucket
71-
7260
- uses: actions/upload-artifact@v4
7361
with:
7462
name: env.sh
@@ -104,6 +92,11 @@ jobs:
10492
with:
10593
name: env.sh
10694

95+
- name: Create bucket
96+
run: |
97+
source env.sh
98+
go run mage.go -v MakeBucket
99+
107100
- name: Setup FPM
108101
run: |
109102
sudo apt-get install ruby-dev build-essential
@@ -112,7 +105,7 @@ jobs:
112105
- name: Build package
113106
run: |
114107
source env.sh
115-
go run mage.go -v ${{ matrix.platform }}
108+
CI=false go run mage.go -v ${{ matrix.platform }}
116109
117110
build-swagger:
118111
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)