Skip to content

Commit f1ef610

Browse files
build: Package action as dist with latest changes
1 parent 04c17c5 commit f1ef610

File tree

11 files changed

+3063
-3062
lines changed

11 files changed

+3063
-3062
lines changed

.github/workflows/build_action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
10-
- uses: actions/setup-node@v4
10+
- uses: actions/setup-node@v6
1111
with:
12-
node-version: 16
12+
node-version-file: "package.json"
1313
- run: npm install
1414
- name: Build action (if not already built)
1515
if: "!startsWith(github.ref, 'refs/heads/release')"

.github/workflows/directory.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
name: Extract Contents of Directory from Example Image
1313
steps:
1414
- uses: actions/checkout@v4
15-
- uses: actions/setup-node@v4
15+
- uses: actions/setup-node@v6
1616
with:
17-
node-version: 20
17+
node-version-file: "package.json"
1818
- name: Load action build from cache
1919
uses: actions/cache@v4
2020
with:
@@ -39,9 +39,9 @@ jobs:
3939
name: Extract Nested Directory from Example Image
4040
steps:
4141
- uses: actions/checkout@v4
42-
- uses: actions/setup-node@v4
42+
- uses: actions/setup-node@v6
4343
with:
44-
node-version: 20
44+
node-version-file: "package.json"
4545
- name: Load action build from cache
4646
uses: actions/cache@v4
4747
with:
@@ -62,9 +62,9 @@ jobs:
6262
name: Extract Nested Contents of Directory from Example Image
6363
steps:
6464
- uses: actions/checkout@v4
65-
- uses: actions/setup-node@v4
65+
- uses: actions/setup-node@v6
6666
with:
67-
node-version: 20
67+
node-version-file: "package.json"
6868
- name: Load action build from cache
6969
uses: actions/cache@v4
7070
with:

.github/workflows/file.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
name: Extract Example File From Root of Built Image
1313
steps:
1414
- uses: actions/checkout@v4
15-
- uses: actions/setup-node@v4
15+
- uses: actions/setup-node@v6
1616
with:
17-
node-version: 20
17+
node-version-file: "package.json"
1818
- name: Load action build from cache
1919
uses: actions/cache@v4
2020
with:
@@ -34,9 +34,9 @@ jobs:
3434
name: Extract Nexted Example File From Built Image
3535
steps:
3636
- uses: actions/checkout@v4
37-
- uses: actions/setup-node@v4
37+
- uses: actions/setup-node@v6
3838
with:
39-
node-version: 20
39+
node-version-file: "package.json"
4040
- name: Load action build from cache
4141
uses: actions/cache@v4
4242
with:

.github/workflows/package-action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
ref: "${{ env.release }}"
1919
fetch-depth: 0
2020
ssh-key: "${{ secrets.COMMIT_KEY }}"
21-
- uses: actions/setup-node@v4
21+
- uses: actions/setup-node@v6
2222
with:
23-
node-version: 16
23+
node-version-file: "package.json"
2424
- uses: prompt/actions-merge-branch@v2
2525
with:
2626
from: "origin/${{ env.source }}"

.github/workflows/platforms.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
name: Extract Example File on Ubuntu
1313
steps:
1414
- uses: actions/checkout@v4
15-
- uses: actions/setup-node@v4
15+
- uses: actions/setup-node@v6
1616
with:
17-
node-version: 20
17+
node-version-file: "package.json"
1818
- name: Load action build from cache
1919
uses: actions/cache@v4
2020
with:
@@ -35,9 +35,9 @@ jobs:
3535
name: Extract Example File on macOS
3636
steps:
3737
- uses: actions/checkout@v4
38-
- uses: actions/setup-node@v4
38+
- uses: actions/setup-node@v6
3939
with:
40-
node-version: 20
40+
node-version-file: "package.json"
4141
- name: Install Docker
4242
uses: douglascamata/setup-docker-macos-action@main
4343
- run: docker build -t example:${{ github.sha }} ./.github/tests

.github/workflows/test-readme.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
context: ./.github/tests
1414
tags: my-example-image:latest
1515
load: true
16-
- uses: shrink/actions-docker-extract@v3
16+
- uses: shrink/actions-docker-extract@v4
1717
id: extract
1818
with:
1919
image: my-example-image:latest
@@ -51,7 +51,7 @@ jobs:
5151
registry: "ghcr.io"
5252
username: "${{ github.actor }}"
5353
password: "${{ secrets.GITHUB_TOKEN }}"
54-
- uses: shrink/actions-docker-extract@v3
54+
- uses: shrink/actions-docker-extract@v4
5555
id: extract
5656
with:
5757
image: ghcr.io/${{ github.repository }}:latest

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
A GitHub Action for extracting files from a Docker Image.
44

55
```yaml
6-
- uses: shrink/actions-docker-extract@v3
6+
- uses: shrink/actions-docker-extract@v4
77
with:
88
image: "ghost:alpine"
99
path: "/var/lib/ghost/current/core/built/assets/."
@@ -52,7 +52,7 @@ jobs:
5252
with:
5353
tags: my-example-image:latest
5454
load: true
55-
- uses: shrink/actions-docker-extract@v3
55+
- uses: shrink/actions-docker-extract@v4
5656
id: extract
5757
with:
5858
image: my-example-image:latest
@@ -81,7 +81,7 @@ jobs:
8181
registry: "ghcr.io"
8282
username: "${{ github.actor }}"
8383
password: "${{ secrets.GITHUB_TOKEN }}"
84-
- uses: shrink/actions-docker-extract@v3
84+
- uses: shrink/actions-docker-extract@v4
8585
id: extract
8686
with:
8787
image: ghcr.io/${{ github.repository }}:latest
@@ -100,8 +100,8 @@ tag. Any reference to this Action in a Workflow must use a [tag][tags] (mutable)
100100
or the commit hash of a tag (immutable).
101101

102102
```yaml
103-
✅ uses: shrink/actions-docker-extract@v3
104-
✅ uses: shrink/actions-docker-extract@v3.0.0
103+
✅ uses: shrink/actions-docker-extract@v4
104+
✅ uses: shrink/actions-docker-extract@v4.0.0
105105
✅ uses: shrink/actions-docker-extract@40400b42f4f8b663c647f535e2c6674658e39fc6
106106
❌ uses: shrink/actions-docker-extract@main
107107
```

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ outputs:
1919
destination:
2020
description: 'Destination of extracted file(s)'
2121
runs:
22-
using: 'node20'
22+
using: 'node24'
2323
main: 'dist/index.js'
2424
branding:
2525
icon: 'scissors'

0 commit comments

Comments
 (0)