Skip to content

Commit

Permalink
CI/CD: fix upload-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodielm committed May 5, 2021
1 parent 4b16a93 commit 6b15600
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ jobs:
run: npm init -y && npm install
- name: Build IVA app
run: npm run build
- name: Read package.json
uses: "tyankatsu0105/read-package-version-actions@v1"
id: package-version
- name: Upload webpack artifact
uses: actions/upload-artifact@v2
with:
name: webpack-artifact
path: build
name: release-artifact
path: iva-${{ steps.package-version.outputs.version }}.tar.gz
retention-days: 2

release:
Expand All @@ -52,8 +55,8 @@ jobs:
- name: Download webpack artifact
uses: actions/download-artifact@v2
with:
name: webpack-artifact
path: web-app/${{ steps.package-version.outputs.version }}
name: release-artifact
path: iva-${{ steps.package-version.outputs.version }}.tar.gz
- name: Read package.json
uses: "tyankatsu0105/read-package-version-actions@v1"
id: package-version
Expand All @@ -67,4 +70,3 @@ jobs:
prerelease: false
files: |
iva-${{ steps.package-version.outputs.version }}.tar.gz
web-app
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iva",
"version": "2.1.0-dev-suite-v3",
"version": "2.1.0-dev-suite-v4",
"description": "IVA description",
"repository": {
"type": "git",
Expand Down

0 comments on commit 6b15600

Please sign in to comment.