Skip to content

 This project is dedicated to collecting high-quality macOS software and organizing them systematically by different categories for easy search and use.

ci: update workflows config.

jaywcjlove71cbd98e0d1e
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9e22e555..fa819b10 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -42,13 +42,12 @@ jobs:
head-ref: ${{steps.create_tag.outputs.version}}
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
- - name: Create Release
- uses: ncipollo/release-action@v1
+ - name: Generate Changelog
+ uses: jaywcjlove/create-tag-action@main
if: steps.create_tag.outputs.successful
with:
- name: ${{ steps.create_tag.outputs.version }}
- tag: ${{ steps.create_tag.outputs.version }}
- token: ${{ secrets.GITHUB_TOKEN }}
+ version: ${{steps.create_tag.outputs.version}}
+ release: true
body: |
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor) [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/awesome-mac@${{steps.create_tag.outputs.versionNumber}}/file/README.md) [![Docker Image Version (latest by date)](https://img.shields.io/docker/v/wcjiang/awesome-mac?logo=docker)](https://hub.docker.com/r/wcjiang/awesome-mac)
@@ -82,6 +81,46 @@ jobs:
http://localhost:9881/
```
+ # - name: Create Release
+ # uses: ncipollo/release-action@v1
+ # if: steps.create_tag.outputs.successful
+ # with:
+ # name: ${{ steps.create_tag.outputs.version }}
+ # tag: ${{ steps.create_tag.outputs.version }}
+ # token: ${{ secrets.GITHUB_TOKEN }}
+ # body: |
+ # [![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor) [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/awesome-mac@${{steps.create_tag.outputs.versionNumber}}/file/README.md) [![Docker Image Version (latest by date)](https://img.shields.io/docker/v/wcjiang/awesome-mac?logo=docker)](https://hub.docker.com/r/wcjiang/awesome-mac)
+
+ # Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/jaywcjlove/awesome-mac/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
+
+ # Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
+
+ # ${{ steps.changelog.outputs.changelog }}
+
+ # ```bash
+ # npm i awesome-mac@${{steps.create_tag.outputs.versionNumber}}
+ # # dist/awesome-mac.json
+ # # dist/awesome-mac.zh.json
+ # ```
+
+ # ## Docker
+
+ # ```bash
+ # docker pull wcjiang/awesome-mac:${{steps.changelog.outputs.version}}
+ # ```
+
+ # ```bash
+ # docker run --name awesome-mac --rm -d -p 9881:3000 wcjiang/awesome-mac:${{steps.changelog.outputs.version}}
+ # # Or
+ # docker run --name awesome-mac -itd -p 9881:3000 wcjiang/awesome-mac:${{steps.changelog.outputs.version}}
+ # ```
+
+ # Visit the following URL in your browser
+
+ # ```bash
+ # http://localhost:9881/
+ # ```
+
- run: npm install @jsdevtools/npm-publish -g
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json