Skip to content

Commit

Permalink
chore(ci): removing caches from RC process (#3930)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbdias authored Jul 9, 2024
1 parent 9629689 commit 65357ef
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
tags:
# this pipeline supports RC pre releases
- "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"

jobs:
build-web:
name: build web
Expand All @@ -27,18 +28,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
cache-dependency-path: web/package-lock.json
- name: Cache Build
id: cache-build
uses: actions/cache@v3
with:
path: web/build/
key: web-build-${{ hashFiles('web/*') }}
- run: cd web; npm ci
if: steps.cache-build.outputs.cache-hit != 'true'
- run: cd web; CI= npm run build
if: steps.cache-build.outputs.cache-hit != 'true'
- name: Upload assets
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -69,8 +60,6 @@ jobs:
uses: actions/setup-go@v3
with:
go-version-file: "go.mod"
cache: true
cache-dependency-path: "go.mod"

- uses: actions/download-artifact@v3
with:
Expand All @@ -79,7 +68,6 @@ jobs:

# release
- uses: goreleaser/goreleaser-action@v4
if: steps.cache.outputs.cache-hit != 'true'
with:
distribution: goreleaser-pro
version: v2.0.1
Expand Down

0 comments on commit 65357ef

Please sign in to comment.