Skip to content

Commit 65357ef

Browse files
authored
chore(ci): removing caches from RC process (#3930)
1 parent 9629689 commit 65357ef

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/release-candidate.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616
tags:
1717
# this pipeline supports RC pre releases
1818
- "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"
19+
1920
jobs:
2021
build-web:
2122
name: build web
@@ -27,18 +28,8 @@ jobs:
2728
uses: actions/setup-node@v3
2829
with:
2930
node-version: 16
30-
cache: npm
31-
cache-dependency-path: web/package-lock.json
32-
- name: Cache Build
33-
id: cache-build
34-
uses: actions/cache@v3
35-
with:
36-
path: web/build/
37-
key: web-build-${{ hashFiles('web/*') }}
3831
- run: cd web; npm ci
39-
if: steps.cache-build.outputs.cache-hit != 'true'
4032
- run: cd web; CI= npm run build
41-
if: steps.cache-build.outputs.cache-hit != 'true'
4233
- name: Upload assets
4334
uses: actions/upload-artifact@v3
4435
with:
@@ -69,8 +60,6 @@ jobs:
6960
uses: actions/setup-go@v3
7061
with:
7162
go-version-file: "go.mod"
72-
cache: true
73-
cache-dependency-path: "go.mod"
7463

7564
- uses: actions/download-artifact@v3
7665
with:
@@ -79,7 +68,6 @@ jobs:
7968

8069
# release
8170
- uses: goreleaser/goreleaser-action@v4
82-
if: steps.cache.outputs.cache-hit != 'true'
8371
with:
8472
distribution: goreleaser-pro
8573
version: v2.0.1

0 commit comments

Comments
 (0)