Skip to content

Commit d87f506

Browse files
committed
Update GitHub workflows
1 parent 0e8dcb2 commit d87f506

4 files changed

Lines changed: 17 additions & 9 deletions

File tree

.github/workflows/archive.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: "Checkout"
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v4
2222

2323
# Note: No caching for this build!
2424

@@ -37,6 +37,6 @@ jobs:
3737
token: ${{ github.token }}
3838

3939
- name: "Save Archive"
40-
uses: actions/upload-artifact@v3
40+
uses: actions/upload-artifact@v4
4141
with:
4242
path: archive.json

.github/workflows/ghpages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: "Checkout"
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424

2525
- name: "Setup"
2626
id: setup
2727
run: date -u "+date=%FT%T" >>"$GITHUB_OUTPUT"
2828

2929
- name: "Caching"
30-
uses: actions/cache@v3
30+
uses: actions/cache@v4
3131
with:
3232
path: |
3333
.refcache
@@ -51,7 +51,7 @@ jobs:
5151
token: ${{ github.token }}
5252

5353
- name: "Archive Built Drafts"
54-
uses: actions/upload-artifact@v3
54+
uses: actions/upload-artifact@v4
5555
with:
5656
path: |
5757
draft-*.html

.github/workflows/publish.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,20 @@ on:
44
push:
55
tags:
66
- "draft-*"
7+
workflow_dispatch:
8+
inputs:
9+
email:
10+
description: "Submitter email"
11+
default: ""
12+
type: string
713

814
jobs:
915
build:
1016
name: "Publish New Draft Version"
1117
runs-on: ubuntu-latest
1218
steps:
1319
- name: "Checkout"
14-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
1521

1622
# See https://github.com/actions/checkout/issues/290
1723
- name: "Get Tag Annotations"
@@ -22,7 +28,7 @@ jobs:
2228
run: date -u "+date=%FT%T" >>"$GITHUB_OUTPUT"
2329

2430
- name: "Caching"
25-
uses: actions/cache@v3
31+
uses: actions/cache@v4
2632
with:
2733
path: |
2834
.refcache
@@ -42,8 +48,10 @@ jobs:
4248
uses: martinthomson/i-d-template@v1
4349
with:
4450
make: upload
51+
env:
52+
UPLOAD_EMAIL: ${{ inputs.email }}
4553

4654
- name: "Archive Submitted Drafts"
47-
uses: actions/upload-artifact@v3
55+
uses: actions/upload-artifact@v4
4856
with:
4957
path: "versioned/draft-*-[0-9][0-9].*"

.github/workflows/update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: "Checkout"
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v4
2828

2929
- name: "Update Generated Files"
3030
uses: martinthomson/i-d-template@v1

0 commit comments

Comments
 (0)