Merge pull request #466 from rtfpessoa/test-actions

fix s3 upload
This commit is contained in:
Rodrigo Fernandes 2023-01-06 22:38:28 +00:00
commit be4b1d0624

View file

@ -84,6 +84,8 @@ jobs:
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
name: versions name: versions
- name: Store version
run: echo "version=$(cat .version)" >> $GITHUB_ENV
- name: Configure Git - name: Configure Git
run: | run: |
git config user.email "gh-actions@users.noreply.github.com" git config user.email "gh-actions@users.noreply.github.com"
@ -140,6 +142,11 @@ jobs:
yarn publish --tag $(cat .tag) --non-interactive --new-version $(cat .version) yarn publish --tag $(cat .tag) --non-interactive --new-version $(cat .version)
# HACK: Restore npm package name # HACK: Restore npm package name
sed -i 's/^ "name":.*/ "name": "diff2html",/g' package.json sed -i 's/^ "name":.*/ "name": "diff2html",/g' package.json
- name: Tag commit
uses: tvdias/github-tagger@v0.0.1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
tag: "${{ env.version }}"
- name: Upload docs - name: Upload docs
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with: