GithubHelp home page GithubHelp logo

Comments (5)

razb-viola avatar razb-viola commented on May 27, 2024 1

Oh the problem is that the action is not failing. It completes however I don't see the new commit in the merged branch. You know what, let me test this again and if I catch any errors, maybe hidden in the logs or something I will let you know.

from add-and-commit.

EndBug avatar EndBug commented on May 27, 2024

Hi, please link your workflow and the failing action run

from add-and-commit.

razb-viola avatar razb-viola commented on May 27, 2024

Sure here it is:

name: Tag and Release
on:
  push:
    branches:
      - main1
jobs:
  build:
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - uses: actions/checkout@v4

      - name: Bump version and push tag
        id: tag_version
        uses: mathieudutour/[email protected]
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          tag_prefix: ''

      - name: Echo the tag
        run: echo "Tag name ${{ steps.tag_version.outputs.new_tag }}"

      - name: Echo the changelog
        run: echo "Tag name ${{ steps.tag_version.outputs.changelog }}"

      - name: Echo package.json
        run: cat package.json

      - name: Configure node
        uses: actions/setup-node@v4
        with:
          node-version: '21.1.0'
          registry-url: 'https://registry.npmjs.org'

      - name: Tell who we are to npm
        run: |
          git config --global user.email "[email protected]"
          git config --global user.name "Github Actions"

      - name: Update package.json version
        run: npm version ${{ steps.tag_version.outputs.new_tag }}
        env:
          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

      - name: Echo package.json after update
        run: cat package.json

      - uses: EndBug/add-and-commit@v9

      - name: Publish to NPM registry
        run: npm publish --access=public
        env:
          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

from add-and-commit.

EndBug avatar EndBug commented on May 27, 2024

and the failing action run

I can't help you if I don't see the logs and the error you're talking about. Can you please send a link to the failing action run?

from add-and-commit.

github-actions avatar github-actions commented on May 27, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from add-and-commit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.