Skip to content

Commit 107d879

Browse files
hanzeitoninis
andcommitted
[MM-51566] Fix asset name in plugin release (#467)
* Fix asset name in plugin release * Update .github/workflows/cd.yaml Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com> --------- Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
1 parent f5a81bd commit 107d879

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/cd.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
run: |
8383
aws s3 cp dist/${GITHUB_REPOSITORY#*/}-ci.tar.gz s3://mattermost-plugins-ci/ci/ --acl public-read --cache-control no-cache
8484
85-
deploy-release:
85+
release-s3:
8686
runs-on: ubuntu-22.04
8787
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
8888
needs:
@@ -113,6 +113,21 @@ jobs:
113113
run: |
114114
aws s3 cp dist/${GITHUB_REPOSITORY#*/}-${GITHUB_REF_NAME}.tar.gz s3://mattermost-plugins-ci/release/ --acl public-read --cache-control no-cache
115115
116+
release-github:
117+
if: startsWith(github.ref, 'refs/tags/v')
118+
runs-on: ubuntu-22.04
119+
needs:
120+
- release-s3
121+
steps:
122+
- name: cd/checkout-repository
123+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
124+
125+
- name: cd/download-artifact
126+
uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 # v3.0.1
127+
with:
128+
name: dist
129+
path: dist
130+
116131
- name: cd/create-github-release
117132
env:
118133
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)