Skip to content

Commit 412cf49

Browse files
authored
Update mirror-snapshot.yml
add setting ft variable. change input types from text to string, even though completion suggests text, it gives warnings later in the file that go away if it's string
1 parent 830938d commit 412cf49

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/mirror-snapshot.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ on:
33
workflow_dispatch:
44
inputs:
55
snapshotrelease:
6-
type: text
6+
type: string
77
required: true
88
reponame:
9-
type: text
9+
type: string
1010
required: true
1111
newrelease:
12-
type: text
12+
type: string
1313
required: true
1414
msysarch:
15-
type: text
15+
type: string
1616
required: false
1717
jobs:
1818
mirror:
@@ -55,6 +55,7 @@ jobs:
5555
mv "$a" "${a//\~/.}"
5656
done
5757
mkdir tmp
58+
ft="$(file "${REPONAME}.db")"
5859
bsdtar -C tmp -xf "${NEWRELEASE}/${REPONAME}.db"
5960
pushd tmp
6061
find . -type f -name desc -exec sed -i -e '/^%FILENAME%$/,+1y/~/./' '{}' +

0 commit comments

Comments
 (0)