mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Fix error with build workflow using wrong ref
Looking at the logs, it's using the ref before the one that increments the version in the previous action in the workflow. This code is from https://github.com/actions/checkout/issues/439#issuecomment-965968956 and supposedly fixes this by making it pull specifically from master, rather than the ref that the workflow was called on.
This commit is contained in:
parent
591d052647
commit
c0ef37c46a
1 changed files with 4 additions and 1 deletions
5
.github/workflows/make_release.yaml
vendored
5
.github/workflows/make_release.yaml
vendored
|
|
@ -4,7 +4,7 @@ on:
|
|||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: 'Version of the new release'
|
||||
description: 'Version of the new release, just as a number with no prepended "v"'
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
|
|
@ -32,6 +32,9 @@ jobs:
|
|||
needs: increment_version
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: master
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue