Skip to content

Action fails on Windows #41

Open
Open
@goerwin

Description

@goerwin

Describe the bug
Using EndBug/version-check@v2 throws a 404 when the repo is private

To Reproduce
Using this workflow:

name: release

on:
  push:
    branches: [master]

jobs:
  release:
    runs-on: ${{ matrix.os }}

    strategy:
      matrix:
        os: [windows-latest]

    steps:
      - name: Check out Git repository
        uses: actions/checkout@v2

      - name: Install Node.js, NPM and Yarn
        uses: actions/setup-node@v2
        with:
          node-version: 14

      - id: check
        name: Verify package.json version change
        uses: EndBug/version-check@v2
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

      - name: push new tag
        if: steps.check.outputs.changed == 'true'
        run: 'git tag v${{ steps.check.outputs.version }}'

result logs
captura_2021-04-19_21_01_08

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersstatus: pinnedShould not be labeled as staletype: bugVerified problems that need to be worked on

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions