Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cicd): replace cache with arctifacts so pipeline fails on error #2421

Merged
merged 1 commit into from
Apr 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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