Skip to content

Commit 51a15c2

Browse files
committed
Update GitHub workflow triggers to use 'published' instead of 'created' and 'prereleased'
1 parent 7700f65 commit 51a15c2

File tree

4 files changed

+23
-24
lines changed

4 files changed

+23
-24
lines changed

.github/workflows/quickpick-dispatcher.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,16 @@ on:
88
- 'main'
99
release:
1010
types:
11-
- created
11+
- published
1212
- edited
13-
- prereleased
1413
workflow_dispatch:
1514

1615
jobs:
1716
dispatch_workflow:
1817
if: |
1918
(github.event_name == 'workflow_dispatch') ||
2019
(github.event_name == 'pull_request' && github.event.pull_request.merged == true) ||
21-
(github.event_name == 'release' && (github.event.action == 'created' || github.event.action == 'edited' || github.event.action == 'prereleased'))
20+
(github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'edited'))
2221
runs-on: ubuntu-latest
2322
steps:
2423
- name: Checkout

.github/workflows/update-releases-properties.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Update Releases Properties
55

66
on:
77
release:
8-
types: [prereleased, released, edited]
8+
types: [published, edited]
99

1010
# Manual trigger for testing
1111
workflow_dispatch:

bin/powershell7.5.4/config/Microsoft.PowerShell_profile.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $env:POSH_ROOT = Join-Path $SHELL_ROOT "vendor\oh-my-posh"
1212
# This is required for Oh My Posh icons and glyphs to display correctly
1313
try {
1414
# Set console font to CaskaydiaCove NF
15-
$Host.UI.RawUI.WindowTitle = "Bearsampp PowerShell"
15+
$Host.UI.RawUI.WindowTitle = "Bearsampp PowerShell Console"
1616

1717
# Note: Font configuration is typically set in Windows Terminal settings.json
1818
# or via registry for Windows Console Host. The font should be installed system-wide.

build.gradle

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,28 +1012,28 @@ tasks.named('clean') {
10121012
}
10131013

10141014
// Clean temp directories but preserve bundles_build
1015-
if (bundleTmpPath.exists()) {
1016-
println "Cleaning tmp directories (preserving bundles_build)..."
1017-
1018-
// List of directories to clean (excluding bundles_build)
1019-
def dirsToClean = [
1020-
file("${buildTmpPath}/bundles_prep"),
1021-
file("${buildTmpPath}/bundles_src"),
1022-
file("${buildTmpPath}/downloads"),
1023-
file("${buildTmpPath}/extract"),
1024-
file("${buildTmpPath}/untouched"),
1025-
file("${buildTmpPath}/ansicon-temp"),
1026-
file("${buildTmpPath}/gnuwin32-bin-temp"),
1027-
file("${buildTmpPath}/gnuwin32-dep-temp")
1028-
]
1015+
println "Cleaning tmp directories (preserving bundles_build)..."
1016+
1017+
// List of directories to clean (excluding bundles_build)
1018+
def dirsToClean = [
1019+
file("${buildTmpPath}/bundles_prep"),
1020+
file("${buildTmpPath}/bundles_src"),
1021+
file("${buildTmpPath}/downloads"),
1022+
file("${buildTmpPath}/extract"),
1023+
file("${buildTmpPath}/untouched"),
1024+
file("${buildTmpPath}/ansicon-temp"),
1025+
file("${buildTmpPath}/gnuwin32-bin-temp"),
1026+
file("${buildTmpPath}/gnuwin32-dep-temp")
1027+
]
10291028

1030-
dirsToClean.each { dir ->
1031-
if (dir.exists()) {
1032-
delete dir
1033-
println " Cleaned: ${dir}"
1034-
}
1029+
dirsToClean.each { dir ->
1030+
if (dir.exists()) {
1031+
delete dir
1032+
println " Cleaned: ${dir}"
10351033
}
1034+
}
10361035

1036+
if (file("${buildTmpPath}/bundles_build").exists()) {
10371037
println " Preserved: ${buildTmpPath}/bundles_build"
10381038
}
10391039

0 commit comments

Comments
 (0)