GithubHelp home page GithubHelp logo

Add v2 tag about action-setup HOT 9 CLOSED

pnpm avatar pnpm commented on May 26, 2024 1
Add v2 tag

from action-setup.

Comments (9)

aminya avatar aminya commented on May 26, 2024 1

Because I shouldn't care about keeping setup-pnpm up to date. I just want to use v1 and be sure that it works all the time.

All the actions by GitHub already provide this tag. pnpm should not be different.
https://github.com/actions
setup-node
https://github.com/actions/setup-node/releases/tag/v2
https://github.com/actions/setup-node/releases/tag/v1

from action-setup.

KSXGitHub avatar KSXGitHub commented on May 26, 2024 1

Is the v2 branch so that we can use pnpm/action-setup@v2 without having a tag called v2?

Yes. And I created a branch instead of a tag because updating a tag is more verbose.

from action-setup.

KSXGitHub avatar KSXGitHub commented on May 26, 2024

Tags are supposed to be immutable. A v1 tag would have to either be outdated or mutable.

If you want to always use latest v1, would don't you just use services like renovate or dependabot to constantly keep track for you?

from action-setup.

einSelbst avatar einSelbst commented on May 26, 2024

hey @aminya, I'm also not sure if I understand you correctly (always use LATEST version of this action or always use SAME version).
If you always want to use the LATEST version you can also

- name: Setup PNPM
  uses: pnpm/action-setup@master
  with: 
    version: next

from action-setup.

aminya avatar aminya commented on May 26, 2024

v1 guarantees that there are no breaking changes, but master can break things any time.

from action-setup.

einSelbst avatar einSelbst commented on May 26, 2024

@aminya there is this: https://github.com/pnpm/action-setup/releases/tag/v1

from action-setup.

KSXGitHub avatar KSXGitHub commented on May 26, 2024

@einSelbst It's outdated

from action-setup.

KSXGitHub avatar KSXGitHub commented on May 26, 2024

I have created v2 branch.

from action-setup.

ChocolateLoverRaj avatar ChocolateLoverRaj commented on May 26, 2024

Tags are supposed to be immutable.

I have created v2 branch.

@KSXGitHub Is the v2 branch so that we can use pnpm/action-setup@v2 without having a tag called v2?

from action-setup.

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.