Skip to content

Commit

Permalink
build(release): Fix workflows for release (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronclong authored Nov 19, 2024
1 parent b31ff66 commit cbc19e8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ jobs:
run: |
frag=$(cat <<EOF
${{ steps.changelog.outputs.changelog }}
EOF)
EOF
)
echo "$frag" >> CHANGE_LOG_FRAG.md
- name: Archive CHANGE_LOG_FRAG
Expand Down Expand Up @@ -73,7 +74,7 @@ jobs:
path: artifacts

- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
body_path: artifacts/change-log-frag/CHANGE_LOG_FRAG.md
files: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build_library:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/node-setup
with:
Expand All @@ -20,7 +20,7 @@ jobs:
- run: npm pack

- name: Archive build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: library-build-dist
path: "aaronclong-barcode-detection-polyfill-*.tgz"
4 changes: 2 additions & 2 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
bump_version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT_TOKEN }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}

Expand Down

0 comments on commit cbc19e8

Please sign in to comment.