Skip to content

Commit

Permalink
change gh actions release
Browse files Browse the repository at this point in the history
  • Loading branch information
siarheidudko committed Oct 16, 2024
1 parent 50ce420 commit c9a4cf4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Autoupdate
on:
schedule:
- cron: "0 1 * * *"
permissions:
contents: write
concurrency:
group: "${{ github.workflow }} @ ${{ github.ref }}"
cancel-in-progress: false
Expand Down Expand Up @@ -77,14 +75,13 @@ jobs:
run: npm run build
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_FOR_WORKFLOW }}
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.VERSION }}
release_name: Release ${{ env.VERSION }}
body: |
see [CHANGELOG.md](https://github.com/dudko-dev/protoobject/blob/master/CHANGELOG.md)
tag_name: ${{ github.ref }}
name: Release ${{ github.ref }}
body_path: ${{ github.workspace }}/README.md
repository: dudko-dev/protoobject
token: ${{ secrets.TOKEN_FOR_WORKFLOW }}
draft: false
prerelease: false
- name: Publish package to NPM
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,13 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_FOR_WORKFLOW }}
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
see [CHANGELOG.md](https://github.com/dudko-dev/protoobject/blob/master/CHANGELOG.md)
name: Release ${{ github.ref }}
body_path: ${{ github.workspace }}/README.md
repository: dudko-dev/protoobject
token: ${{ secrets.TOKEN_FOR_WORKFLOW }}
draft: false
prerelease: false
- name: Set registry npm packages
Expand Down

0 comments on commit c9a4cf4

Please sign in to comment.