Skip to content

Commit

Permalink
EGON-45: Fix upload-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Dymel committed Jan 16, 2024
1 parent 92ce827 commit cde9431
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
uses: actions/cache/save@v3
with:
path: |
dist
dist_build
key: build-${{ github.sha }}

upload-artifact:
Expand All @@ -61,7 +61,7 @@ jobs:
uses: actions/cache/restore@v3
with:
path: |
dist
dist_build
key: build-${{ github.sha }}
- run: npm run zip
- uses: actions/upload-artifact@v3
Expand All @@ -85,12 +85,11 @@ jobs:
uses: actions/cache/restore@v3
with:
path: |
dist
dist_build
key: build-${{ github.sha }}
- run: |
sed -i -E "s/version:\s'[0-9]+\.[0-9]+\.[0-9]+'/version: '${{ github.sha }}'/" src/environments/environment.prod.ts
sed -i -E "s/\"version\":\s\"[0-9]+\.[0-9]+\.[0-9]+\"/\"version\": \"${{ github.sha }}\"/" package.json
npm run build
CLONE_DIR=$(mktemp -d)
Expand All @@ -117,7 +116,7 @@ jobs:
uses: actions/cache/restore@v3
with:
path: |
dist
dist_build
key: build-${{ github.sha }}
- name: Log in to the Container registry
uses: docker/login-action@v3
Expand Down

0 comments on commit cde9431

Please sign in to comment.