Skip to content

Commit 9d48de2

Browse files
committed
try: tmate
1 parent 73010be commit 9d48de2

File tree

1 file changed

+29
-24
lines changed

1 file changed

+29
-24
lines changed

.github/workflows/ci.yaml

+29-24
Original file line numberDiff line numberDiff line change
@@ -20,36 +20,36 @@ env:
2020

2121
jobs:
2222
# Check if the action code changed
23-
check-action-code-changes:
24-
name: Check if action code changed
25-
runs-on: ubuntu-latest
26-
outputs:
27-
any_changed: ${{ steps.any_changed.outputs.any_changed }}
28-
steps:
29-
- uses: actions/checkout@v4
30-
with:
31-
fetch-depth: 2
23+
# check-action-code-changes:
24+
# name: Check if action code changed
25+
# runs-on: ubuntu-latest
26+
# outputs:
27+
# any_changed: ${{ steps.any_changed.outputs.any_changed }}
28+
# steps:
29+
# - uses: actions/checkout@v4
30+
# with:
31+
# fetch-depth: 2
3232

33-
- uses: tj-actions/changed-files@v42
34-
id: any_changed
35-
with:
36-
files: |
37-
src/**
38-
package.json
39-
package-lock.json
40-
flake.lock
41-
flake.nix
33+
# - uses: tj-actions/changed-files@v42
34+
# id: any_changed
35+
# with:
36+
# files: |
37+
# src/**
38+
# package.json
39+
# package-lock.json
40+
# flake.lock
41+
# flake.nix
4242

4343
# Build the action if there are changes
4444
# Commit and push the built code
4545
build:
4646
name: Build the action
47-
runs-on: ubuntu-20.04
47+
runs-on: macos-latest
4848
permissions:
4949
contents: write
5050
actions: write
51-
needs: check-action-code-changes
52-
if: needs.check-action-code-changes.outputs.any_changed
51+
# needs: check-action-code-changes
52+
# if: needs.check-action-code-changes.outputs.any_changed
5353
steps:
5454
- uses: actions/checkout@v4
5555

@@ -70,9 +70,9 @@ jobs:
7070
# except the version with the `primary-key`, if it exists
7171
purge-primary-key: never
7272

73-
# # Uncomment to debug this job
74-
# - name: Setup tmate session
75-
# uses: mxschmitt/action-tmate@v3
73+
# Uncomment to debug this job
74+
- name: Setup tmate session
75+
uses: mxschmitt/action-tmate@v3
7676

7777
- name: Configure github-actions bot
7878
run: |
@@ -164,6 +164,11 @@ jobs:
164164
purge-created: 0
165165
# except the version with the `primary-key`, if it exists
166166
purge-primary-key: never
167+
168+
# Uncomment to debug this job
169+
- name: Setup tmate session
170+
uses: mxschmitt/action-tmate@v3
171+
167172

168173
# Merge similar individual `id` caches
169174
# Purge individual caches and old `common` caches

0 commit comments

Comments
 (0)