Skip to content

Commit

Permalink
Merge pull request #466 from rtfpessoa/test-actions
Browse files Browse the repository at this point in the history
fix s3 upload
  • Loading branch information
rtfpessoa authored Jan 6, 2023
2 parents 81b0f67 + 7e37ce3 commit 1cc02ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
export NEXT_VERSION="$(/bin/git-version --folder=$PWD --release-branch=master)"
echo "Next version is ${NEXT_VERSION}"
echo "${NEXT_VERSION}" > .version
echo "version=${NEXT_VERSION}" >> $GITHUB_ENV
- name: Get next npm tag name
run: |
if [ "${GITHUB_REF_NAME}" = "master" ]; then
Expand Down Expand Up @@ -140,6 +141,11 @@ jobs:
yarn publish --tag $(cat .tag) --non-interactive --new-version $(cat .version)
# HACK: Restore npm package name
sed -i 's/^ "name":.*/ "name": "diff2html",/g' package.json
- name: Tag commit
uses: tvdias/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
tag: "${{ env.version }}"
- name: Upload docs
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 1cc02ff

Please sign in to comment.