Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit81ffde0

Browse files
committed
TEST
1 parent479b32e commit81ffde0

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

‎.github/workflows/ci.yaml‎

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ jobs:
968968
needs:changes
969969
# We always build the dylibs on Go changes to verify we're not merging unbuildable code,
970970
# but they need only be signed and uploaded on coder/coder main.
971-
if:needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')
971+
if:true
972972
runs-on:${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest' }}
973973
steps:
974974
# Harden Runner doesn't work on macOS
@@ -996,7 +996,7 @@ jobs:
996996
uses:./.github/actions/setup-go
997997

998998
-name:Install rcodesign
999-
if:${{ github.repository_owner == 'coder' && github.ref == 'refs/heads/main' }}
999+
if:true
10001000
run:|
10011001
set -euo pipefail
10021002
wget -O /tmp/rcodesign.tar.gz https://github.com/indygreg/apple-platform-rs/releases/download/apple-codesign%2F0.22.0/apple-codesign-0.22.0-macos-universal.tar.gz
@@ -1033,7 +1033,7 @@ jobs:
10331033
AC_CERTIFICATE_PASSWORD_FILE:/tmp/apple_cert_password.txt
10341034

10351035
-name:Upload build artifacts
1036-
if:${{ github.repository_owner == 'coder' && github.ref == 'refs/heads/main' }}
1036+
if:true
10371037
uses:actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02# v4.6.2
10381038
with:
10391039
name:dylibs
@@ -1093,7 +1093,7 @@ jobs:
10931093
needs:
10941094
-changes
10951095
-build-dylib
1096-
if:(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) && needs.changes.outputs.docs-only == 'false' && !github.event.pull_request.head.repo.fork
1096+
if:true
10971097
runs-on:${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-22.04' }}
10981098
permissions:
10991099
# Necessary to push docker images to ghcr.io.
@@ -1260,7 +1260,7 @@ jobs:
12601260
make build/coder_"$version"_linux_{amd64,arm64,armv7}.tag
12611261
12621262
# only push if we are on main branch or release branch
1263-
if[[ "${GITHUB_REF}" == "refs/heads/main" || "${GITHUB_REF}" == refs/heads/release/* ]]; then
1263+
iffalse; then
12641264
# build and push multi-arch manifest, this depends on the other images
12651265
# being pushed so will automatically push them
12661266
# note: omitting the -j argument to avoid race conditions when pushing
@@ -1479,14 +1479,11 @@ jobs:
14791479
deploy:
14801480
needs:
14811481
-changes
1482-
-build
1483-
if:|
1484-
(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/'))
1485-
&& needs.changes.outputs.docs-only == 'false'
1486-
&& !github.event.pull_request.head.repo.fork
1482+
#- build
1483+
if:true
14871484
uses:./.github/workflows/deploy.yaml
14881485
with:
1489-
image:${{ needs.build.outputs.IMAGE }}
1486+
image:ghcr.io/coder/coder-preview:2.26.0-devel-d5e433119
14901487
permissions:
14911488
contents:read
14921489
id-token:write

‎.github/workflows/deploy.yaml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ jobs:
4646
fetch-depth:0
4747
persist-credentials:false
4848

49+
-name:CHECKOUT MAIN
50+
run:|
51+
set -euxo pipefail
52+
git checkout main
53+
git checkout origin/dean/releases-freeze -- scripts/should_deploy.sh
54+
4955
-name:Check if deploy is enabled
5056
id:check
5157
run:|
@@ -71,6 +77,11 @@ jobs:
7177
with:
7278
egress-policy:audit
7379

80+
-name:FAIL
81+
run:|
82+
echo "FAIL"
83+
exit 1
84+
7485
-name:Checkout
7586
uses:actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8# v5.0.0
7687
with:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp