Skip to content

Commit 341e892

Browse files
committed
fix broken build and update release name
1 parent 31dbfac commit 341e892

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
with:
4141
files: ./artifacts/codam-web-greeter.zip
4242
tag_name: ${{ github.ref }}
43+
release_name: ${{ github.ref_name }}
4344
generate_release_notes: true
4445
draft: false
4546
prerelease: true

.github/workflows/webpack.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
pull_request:
1010
branches: [ "main" ]
1111
workflow_call:
12+
workflow_dispatch:
1213

1314
jobs:
1415
build:
@@ -39,13 +40,13 @@ jobs:
3940
make build
4041
4142
- name: Create zip file from dist folder
42-
working-directory: "$GITHUB_WORKSPACE/dist"
43+
working-directory: dist
4344
run: |
44-
zip -r "$GITHUB_WORKSPACE/codam-web-greeter.zip" *
45+
zip -r ../codam-web-greeter.zip *
4546
4647
- name: Upload Artifact
4748
uses: actions/upload-artifact@v3
4849
with:
4950
name: codam-web-greeter
50-
path: "$GITHUB_WORKSPACE/codam-web-greeter.zip"
51+
path: codam-web-greeter.zip
5152
retention-days: 1

0 commit comments

Comments
 (0)