Skip to content

Commit 76b6da8

Browse files
committed
ci: fix publish
1 parent 6647a09 commit 76b6da8

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/publish.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: generate and publish manifest
22

33
on:
44
push:
5-
tags: [ 'v*' ]
5+
tags: ["v*"]
66

77
permissions:
88
contents: write
@@ -16,11 +16,10 @@ jobs:
1616
echo "REPO_NAME=$(echo ${{ github.repository }} | cut -d'/' -f2)" >> $GITHUB_ENV
1717
echo "VERSION=$(echo ${{ github.ref }} | cut -d'/' -f3 | cut -c2-)" >> $GITHUB_ENV
1818
- uses: actions/checkout@v2
19-
2019
- name: Set up Lua
2120
uses: leafo/gh-actions-lua@v8
2221
with:
23-
luaVersion: '5.3.5'
22+
luaVersion: "5.3.5"
2423

2524
- name: Install dependencies
2625
run: |
@@ -37,7 +36,7 @@ jobs:
3736
print(str)' > manifest.json
3837
cat manifest.json
3938
- name: Upload JSON file
40-
uses: actions/upload-artifact@v2
39+
uses: actions/upload-artifact@v4
4140
with:
4241
name: manifest
4342
path: manifest.json
@@ -50,9 +49,9 @@ jobs:
5049
echo "REPO_NAME=$(echo ${{ github.repository }} | cut -d'/' -f2)" >> $GITHUB_ENV
5150
echo "VERSION=$(echo ${{ github.ref }} | cut -d'/' -f3 | cut -c2-)" >> $GITHUB_ENV
5251
- name: Checkout code
53-
uses: actions/checkout@v2
52+
uses: actions/checkout@v4
5453
- name: Download JSON file
55-
uses: actions/download-artifact@v2
54+
uses: actions/download-artifact@v4
5655
with:
5756
name: manifest
5857
- name: Compress build files
@@ -76,4 +75,4 @@ jobs:
7675
file: ./manifest.json
7776
tag: "manifest"
7877
overwrite: true
79-
file_glob: true
78+
file_glob: true

0 commit comments

Comments
 (0)