Skip to content

Commit

Permalink
chore(cicd): replace cache with arctifacts so pipeline fails on error (
Browse files Browse the repository at this point in the history
  • Loading branch information
schoren committed Jun 5, 2023
1 parent 5594aa5 commit 3ed6cee
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ jobs:
TRACETEST_ENV: main
ANALYTICS_FE_KEY: ${{ secrets.ANALYTICS_FE_KEY }}
ANALYTICS_BE_KEY: ${{ secrets.ANALYTICS_BE_KEY }}
- name: Upload assets
uses: actions/upload-artifact@v3
with:
name: dist-${{ matrix.GOOS }}
path: dist/${{ matrix.GOOS }}

release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -124,18 +129,18 @@ jobs:
- shell: bash
run: |
echo "sha_short=$(git rev-parse --short=8 $GITHUB_SHA)" >> $GITHUB_ENV
- uses: actions/cache@v3
- uses: actions/download-artifact@v3
with:
path: dist/linux
key: linux-${{ env.sha_short }}
- uses: actions/cache@v3
key: dist-linux
- uses: actions/download-artifact@v3
with:
path: dist/darwin
key: darwin-${{ env.sha_short }}
- uses: actions/cache@v3
key: dist-darwin
- uses: actions/download-artifact@v3
with:
path: dist/windows
key: windows-${{ env.sha_short }}
key: dist-windows
- uses: actions/download-artifact@v3
with:
name: tracetest-web
Expand Down

0 comments on commit 3ed6cee

Please sign in to comment.