diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..016be52 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,30 @@ +name: 'CI' +on: + push: + workflow_dispatch: +jobs: + build: + permissions: write-all + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Worker + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + VERSIONNOW=$(cat VERSION);echo [$VERSIONNOW];echo -e "VERSIONNOW=$VERSIONNOW\n" >> ${GITHUB_ENV};echo ${{ env.VERSIONNOW }} + - name: Release + uses: softprops/action-gh-release@v1 + with: + name: ${{ env.VERSIONNOW }} + tag_name: ${{ env.VERSIONNOW }} + body_path: out/RELEASE + files: out/*.ipdb + - name: Clear Releases + uses: dev-drprasad/delete-older-releases@v0.2.0 + with: + keep_latest: 5 + delete_tags: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..42d3ac8 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +20231108 \ No newline at end of file diff --git a/out/RELEASE b/out/RELEASE new file mode 100644 index 0000000..884f4d9 --- /dev/null +++ b/out/RELEASE @@ -0,0 +1,6 @@ +俄勒冈:[[美国弗吉尼亚州文特山农场 OVH数据中心 ovh.com ]] +德国法兰克福:[[美国 美国 ]] +日本大阪:[[日本大阪府大阪市 Microsoft microsoft.com ]] +教育:[[中国 重庆 重庆 教育网]] +联通:[[中国 重庆 重庆 联通]] +香港:[[中国 香港 microsoft.com ]] diff --git a/out/cz.ipdb b/out/cz.ipdb new file mode 100644 index 0000000..86b23fd Binary files /dev/null and b/out/cz.ipdb differ