Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3f862d5

Browse files
committed
refactor(_example): update Github Action
1 parent48cccb9 commit3f862d5

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

‎_example/.github/workflows/release.ymlrenamed to ‎_example/.github/workflows/release-gallery.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name:Release
1+
name:GalleryRelease
22
on:
33
release:
44
types:
@@ -38,10 +38,10 @@ jobs:
3838
# pack
3939
cd .workflow
4040
plutil -replace version -string "${{ env.tag }}" info.plist
41-
zip -r ../"AkTest-${{ env.tag }}.alfredworkflow_" .
41+
zip -r ../"AkTest_GALLERY-${{ env.tag }}.alfredworkflow" .
4242
cd ..
4343
44-
echo "artifact=$(echo "AkTest-${{ env.tag }}.alfredworkflow_")" >> $GITHUB_ENV
44+
echo "artifact=$(echo "AkTest_GALLERY-${{ env.tag }}.alfredworkflow")" >> $GITHUB_ENV
4545
-name:Import Code-Signing Certificates
4646
uses:Apple-Actions/import-codesign-certs@v1
4747
with:
@@ -73,25 +73,25 @@ jobs:
7373
# pack alfredworkflow
7474
cd .workflow
7575
plutil -replace version -string "${{ env.tag }}" info.plist
76-
zip -r ../"AkTest-${{ env.tag }}.alfredworkflow_" .
76+
zip -r ../"AkTest_GALLERY-${{ env.tag }}.alfredworkflow" .
7777
cd ..
7878
7979
# zip alfredworkflow as zip archive for notarize
80-
zip -r "AkTest-${{ env.tag }}.alfredworkflow.zip" "AkTest-${{ env.tag }}.alfredworkflow_"
80+
zip -r "AkTest_GALLERY-${{ env.tag }}.alfredworkflow.zip" "AkTest_GALLERY-${{ env.tag }}.alfredworkflow"
8181
8282
# gon notarize
8383
cat <<EOF >> notarize.json
8484
{
8585
"notarize": [{
86-
"path": "${PWD}/AkTest-${{ env.tag }}.alfredworkflow.zip",
86+
"path": "${PWD}/AkTest_GALLERY-${{ env.tag }}.alfredworkflow.zip",
8787
"bundle_id": "com.xxx.aktest",
8888
"staple":false
8989
}]
9090
}
9191
EOF
9292
gon -log-level=debug -log-json ./notarize.json
9393
94-
echo "artifact=$(echo "AkTest-${{ env.tag }}.alfredworkflow_")" >> $GITHUB_ENV
94+
echo "artifact=$(echo "AkTest_GALLERY-${{ env.tag }}.alfredworkflow")" >> $GITHUB_ENV
9595
-uses:shogo82148/actions-upload-release-asset@v1
9696
with:
9797
upload_url:${{ github.event.release.upload_url }}

‎_example/.github/workflows/release_auto_update.ymlrenamed to ‎_example/.github/workflows/release-github.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name:Release_auto_update
1+
name:Github Release
22
on:
33
release:
44
types:
@@ -38,10 +38,10 @@ jobs:
3838
# pack
3939
cd .workflow
4040
plutil -replace version -string "${{ env.tag }}" info.plist
41-
zip -r ../"AkTest_auto_update-${{ env.tag }}.alfredworkflow" .
41+
zip -r ../"AkTest_GITHUB-${{ env.tag }}.alfredworkflow" .
4242
cd ..
4343
44-
echo "artifact=$(echo "AkTest_auto_update-${{ env.tag }}.alfredworkflow")" >> $GITHUB_ENV
44+
echo "artifact=$(echo "AkTest_GITHUB-${{ env.tag }}.alfredworkflow")" >> $GITHUB_ENV
4545
-name:Import Code-Signing Certificates
4646
uses:Apple-Actions/import-codesign-certs@v1
4747
with:
@@ -73,25 +73,25 @@ jobs:
7373
# pack alfredworkflow
7474
cd .workflow
7575
plutil -replace version -string "${{ env.tag }}" info.plist
76-
zip -r ../"AkTest_auto_update-${{ env.tag }}.alfredworkflow" .
76+
zip -r ../"AkTest_GITHUB-${{ env.tag }}.alfredworkflow" .
7777
cd ..
7878
7979
# zip alfredworkflow as zip archive for notarize
80-
zip -r "AkTest_auto_update-${{ env.tag }}.alfredworkflow.zip" "AkTest_auto_update-${{ env.tag }}.alfredworkflow"
80+
zip -r "AkTest_GITHUB-${{ env.tag }}.alfredworkflow.zip" "AkTest_GITHUB-${{ env.tag }}.alfredworkflow"
8181
8282
# gon notarize
8383
cat <<EOF >> notarize.json
8484
{
8585
"notarize": [{
86-
"path": "${PWD}/AkTest_auto_update-${{ env.tag }}.alfredworkflow.zip",
86+
"path": "${PWD}/AkTest_GITHUB-${{ env.tag }}.alfredworkflow.zip",
8787
"bundle_id": "com.xxx.aktest",
8888
"staple":false
8989
}]
9090
}
9191
EOF
9292
gon -log-level=debug -log-json ./notarize.json
9393
94-
echo "artifact=$(echo "AkTest_auto_update-${{ env.tag }}.alfredworkflow")" >> $GITHUB_ENV
94+
echo "artifact=$(echo "AkTest_GITHUB-${{ env.tag }}.alfredworkflow")" >> $GITHUB_ENV
9595
-uses:shogo82148/actions-upload-release-asset@v1
9696
with:
9797
upload_url:${{ github.event.release.upload_url }}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp