Skip to content

Commit faa43af

Browse files
committed
optimized
Signed-off-by: leleliu008 <leleliu008@gmail.com>
1 parent abcfd65 commit faa43af

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

.github/workflows/publish.yml

+25-25
Original file line numberDiff line numberDiff line change
@@ -71,23 +71,23 @@ jobs:
7171
- run: ./ppkg update
7272

7373
- run: |
74-
~/.uppm/installed/gsed/bin/gsed -i "/git-url/a git-sha: ${{ needs.check.outputs.git-sha }}" ~/.ppkg/repos.d/official-core/formula/uctags.yml
74+
~/.uppm/installed/gsed/bin/gsed -i "/git-url/a git-sha: ${{ needs.check.outputs.git-sha }}" ~/.ppkg/repos.d/official-core/formula/uppm.yml
7575
7676
- if: ${{ startsWith(matrix.target, 'openbsd') }}
77-
run: ./ppkg install ${{ matrix.target }}/uctags --link-type=static-most
77+
run: ./ppkg install ${{ matrix.target }}/uppm --link-type=static-most
7878

7979
- if: ${{ ! startsWith(matrix.target, 'openbsd') }}
80-
run: ./ppkg install ${{ matrix.target }}/uctags --link-type=static-full
80+
run: ./ppkg install ${{ matrix.target }}/uppm --link-type=static-full
8181

82-
- run: ./ppkg pack ${{ matrix.target }}/uctags -t tar.gz
83-
- run: ./ppkg pack ${{ matrix.target }}/uctags -t tar.xz
84-
- run: ./ppkg pack ${{ matrix.target }}/uctags -t tar.lz
85-
- run: ./ppkg pack ${{ matrix.target }}/uctags -t tar.bz2
82+
- run: ./ppkg pack ${{ matrix.target }}/uppm -t tar.gz
83+
- run: ./ppkg pack ${{ matrix.target }}/uppm -t tar.xz
84+
- run: ./ppkg pack ${{ matrix.target }}/uppm -t tar.lz
85+
- run: ./ppkg pack ${{ matrix.target }}/uppm -t tar.bz2
8686

8787
- uses: actions/upload-artifact@v4
8888
with:
89-
name: uctags---${{ matrix.target }}-tar
90-
path: uctags-*-${{ matrix.target }}.tar.*
89+
name: uppm---${{ matrix.target }}-tar
90+
path: uppm-*-${{ matrix.target }}.tar.*
9191

9292

9393
macos:
@@ -110,19 +110,19 @@ jobs:
110110
- run: ./xcpkg update
111111

112112
- run: |
113-
~/.xcpkg/uppm/installed/gsed/bin/gsed -i "/git-url/a git-sha: ${{ needs.check.outputs.git-sha }}" ~/.xcpkg/repos.d/official-core/formula/uctags.yml
113+
~/.xcpkg/uppm/installed/gsed/bin/gsed -i "/git-url/a git-sha: ${{ needs.check.outputs.git-sha }}" ~/.xcpkg/repos.d/official-core/formula/uppm.yml
114114
115-
- run: ./xcpkg install MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}/uctags --link-type=static-most
115+
- run: ./xcpkg install MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}/uppm --link-type=static-most
116116

117-
- run: ./xcpkg pack MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}/uctags -t tar.gz
118-
- run: ./xcpkg pack MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}/uctags -t tar.xz
119-
- run: ./xcpkg pack MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}/uctags -t tar.lz
120-
- run: ./xcpkg pack MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}/uctags -t tar.bz2
117+
- run: ./xcpkg pack MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}/uppm -t tar.gz
118+
- run: ./xcpkg pack MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}/uppm -t tar.xz
119+
- run: ./xcpkg pack MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}/uppm -t tar.lz
120+
- run: ./xcpkg pack MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}/uppm -t tar.bz2
121121

122122
- uses: actions/upload-artifact@v4
123123
with:
124-
name: uctags---MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}-tar
125-
path: uctags-*-MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}.tar.*
124+
name: uppm---MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}-tar
125+
path: uppm-*-MacOSX-${{ matrix.target-version }}-${{ matrix.target-arch }}.tar.*
126126

127127

128128
linux:
@@ -164,14 +164,14 @@ jobs:
164164
run ./ppkg setup
165165
run ./ppkg update
166166
167-
sed -i "/git-url/a git-sha: ${{ needs.check.outputs.git-sha }}" ~/.ppkg/repos.d/official-core/formula/uctags.yml
167+
sed -i "/git-url/a git-sha: ${{ needs.check.outputs.git-sha }}" ~/.ppkg/repos.d/official-core/formula/uppm.yml
168168
169-
run ./ppkg install uctags --link-type=static-full
169+
run ./ppkg install uppm --link-type=static-full
170170
171-
run ./ppkg pack uctags -t tar.gz
172-
run ./ppkg pack uctags -t tar.xz
173-
run ./ppkg pack uctags -t tar.lz
174-
run ./ppkg pack uctags -t tar.bz2
171+
run ./ppkg pack uppm -t tar.gz
172+
run ./ppkg pack uppm -t tar.xz
173+
run ./ppkg pack uppm -t tar.lz
174+
run ./ppkg pack uppm -t tar.bz2
175175
EOF
176176
177177
chmod +x run.sh
@@ -199,8 +199,8 @@ jobs:
199199

200200
- uses: actions/upload-artifact@v4
201201
with:
202-
name: uctags---linux-${{ matrix.target-arch }}-tar
203-
path: uctags-*-linux-${{ matrix.target-arch }}.tar.*
202+
name: uppm---linux-${{ matrix.target-arch }}-tar
203+
path: uppm-*-linux-${{ matrix.target-arch }}.tar.*
204204

205205

206206
publish:

0 commit comments

Comments
 (0)