You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d2dfa31
Browse filesBrowse the repository at this point in the historyBrowse files
ci: copy latest archives when overwriting a version release
The 12.2.0 overwrite job failed at checkout because PAT_TOKEN was
empty. Use GITHUB_TOKEN as fallback, keep the existing GitHub
Release, and replace same-named archives with current latest assets.
Copy file name to clipboardExpand all lines: .github/workflows/release-openframeworks.yml
+41-6Lines changed: 41 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ on:
8
8
required: true
9
9
type: string
10
10
overwrite_existing:
11
-
description: "Move an existing version tag to latest and rebuild its release"
11
+
description: "Move an existing version tag to latest and replace its archives with current latest zips. Keeps the GitHub Release; same filenames are overwritten in place."
12
12
required: true
13
13
default: false
14
14
type: boolean
@@ -29,9 +29,9 @@ jobs:
29
29
with:
30
30
fetch-depth: 0
31
31
ref: latest
32
-
#A PAT is required: pushes made with GITHUB_TOKEN do not start the
33
-
#existing build-* workflows that upload the platform release assets.
34
-
token: ${{ secrets.PAT_TOKEN }}
32
+
#Prefer PAT so a tag push can start build-* workflows. GITHUB_TOKEN
33
+
#is enough to move the tag and replace release archives.
0 commit comments