Skip to content

Commit f12f210

Browse files
committed
Only run upload
1 parent 363550c commit f12f210

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
# Build and publish Unix (Linux/macOS) binaries and Docker images.
1212
# This job creates the GitHub release that goreleaser-windows will upload to.
1313
goreleaser-unix:
14+
if: false # Temporarily disabled for testing
1415
runs-on:
1516
group: databricks-deco-testing-runner-group
1617
labels: ubuntu-latest-deco
@@ -60,6 +61,7 @@ jobs:
6061
# Uses --skip=publish to avoid creating duplicate GitHub release.
6162
# Waits for goreleaser-unix to create the release first.
6263
goreleaser-windows:
64+
if: false # Temporarily disabled for testing
6365
environment: sign
6466
runs-on: windows-latest
6567

@@ -123,7 +125,6 @@ jobs:
123125
runs-on:
124126
group: databricks-deco-testing-runner-group
125127
labels: ubuntu-latest-deco
126-
needs: [goreleaser-windows, goreleaser-unix]
127128

128129
steps:
129130
- name: Download Windows artifacts
@@ -137,13 +138,14 @@ jobs:
137138
for file in dist/*.zip dist/*SHA256SUMS*; do
138139
if [ -f "$file" ]; then
139140
echo "Uploading $(basename $file)"
140-
gh release upload ${{ github.ref_name }} "$file" --repo ${{ github.repository }}
141+
gh release upload v0.277.0 "$file" --repo ${{ github.repository }}
141142
fi
142143
done
143144
env:
144145
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
145146

146147
create-setup-cli-release-pr:
148+
if: false # Temporarily disabled for testing
147149
runs-on:
148150
group: databricks-deco-testing-runner-group
149151
labels: ubuntu-latest-deco
@@ -172,6 +174,7 @@ jobs:
172174
});
173175
174176
create-homebrew-tap-release-pr:
177+
if: false # Temporarily disabled for testing
175178
runs-on:
176179
group: databricks-deco-testing-runner-group
177180
labels: ubuntu-latest-deco
@@ -213,6 +216,7 @@ jobs:
213216
});
214217
215218
create-vscode-extension-update-pr:
219+
if: false # Temporarily disabled for testing
216220
runs-on:
217221
group: databricks-deco-testing-runner-group
218222
labels: ubuntu-latest-deco
@@ -241,6 +245,7 @@ jobs:
241245
});
242246
243247
pypi-publish:
248+
if: false # Temporarily disabled for testing
244249
runs-on:
245250
group: databricks-deco-testing-runner-group
246251
labels: ubuntu-latest-deco
@@ -315,13 +320,13 @@ jobs:
315320
# The ref name is equal to the tag name when this workflow is triggered by the "sign-cli" command.
316321
- name: Strip "v" prefix from version
317322
id: strip_version
318-
run: echo "version=$(echo ${{ github.ref_name }} | sed 's/^v//')" >> "$GITHUB_OUTPUT"
323+
run: echo "version=$(echo v0.277.0 | sed 's/^v//')" >> "$GITHUB_OUTPUT"
319324

320325
- name: Get URLs of signed Windows binaries
321326
id: get_windows_urls
322327
run: |
323328
urls=$(
324-
gh api https://api.github.com/repos/databricks/cli/releases/tags/${{ github.ref_name }} | \
329+
gh api https://api.github.com/repos/databricks/cli/releases/tags/v0.277.0 | \
325330
jq -r .assets[].browser_download_url | \
326331
grep -E '_windows_.*\.zip$' | \
327332
tr '\n' ' '

0 commit comments

Comments
 (0)