Skip to content

Commit 5613fd3

Browse files
committed
Update actions and OS
1 parent 4cb473b commit 5613fd3

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ jobs:
77
build:
88

99
name: Build
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-24.04
1111
container: registry.gitlab.com/islandoftex/images/texlive:TL2025-2025-02-21-full
1212

1313
steps:
1414

1515
- name: Checkout
1616
uses: actions/checkout@v4
17+
with:
18+
persist-credentials: false
1719

1820
- name: Set Git safe.directory
1921
run: git config --global --add safe.directory $GITHUB_WORKSPACE
@@ -35,7 +37,7 @@ jobs:
3537
run: sha256sum gfkg.pdf gfkg.ps | tee gfkg.sha256
3638

3739
- name: Upload artifacts
38-
uses: actions/upload-artifact@v3
40+
uses: actions/upload-artifact@v4
3941
with:
4042
name: gfkg
4143
path: |
@@ -53,23 +55,23 @@ jobs:
5355
name: Release
5456
needs: build
5557
if: startsWith(github.ref, 'refs/tags')
56-
runs-on: ubuntu-22.04
58+
runs-on: ubuntu-24.04
5759

5860
permissions:
5961
contents: write
6062

6163
steps:
6264

6365
- name: Download artifacts
64-
uses: actions/download-artifact@v3
66+
uses: actions/download-artifact@v4
6567
with:
6668
name: gfkg
6769

6870
- name: Check integrity
6971
run: sha256sum -c --strict gfkg.sha256
7072

7173
- name: Create release
72-
uses: softprops/action-gh-release@v1
74+
uses: softprops/action-gh-release@v2
7375
with:
7476
files: |
7577
gfkg.pdf
@@ -83,7 +85,7 @@ jobs:
8385
name: Publish
8486
needs: build
8587
if: github.ref == 'refs/heads/master'
86-
runs-on: ubuntu-22.04
88+
runs-on: ubuntu-24.04
8789

8890
permissions:
8991
pages: write
@@ -101,10 +103,12 @@ jobs:
101103

102104
- name: Checkout
103105
uses: actions/checkout@v4
106+
with:
107+
persist-credentials: false
104108

105109
- name: Download artifacts
106110
id: download
107-
uses: actions/download-artifact@v3
111+
uses: actions/download-artifact@v4
108112
with:
109113
name: gfkg
110114
path: site
@@ -115,7 +119,7 @@ jobs:
115119

116120
- name: Render Markdown
117121
id: markdown
118-
uses: fionn/render-markdown@v0.0.5
122+
uses: fionn/render-markdown@v0.0.6
119123
with:
120124
token: ${{ github.token }}
121125

@@ -125,10 +129,10 @@ jobs:
125129
> ${{ steps.download.outputs.download-path }}/index.html
126130
127131
- name: Upload tarball
128-
uses: actions/upload-pages-artifact@v2
132+
uses: actions/upload-pages-artifact@v3
129133
with:
130134
path: ${{ steps.download.outputs.download-path }}
131135

132136
- name: Publish
133137
id: publish
134-
uses: actions/deploy-pages@v2
138+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)