Skip to content

Commit

Permalink
update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Clark committed Sep 27, 2022
1 parent 509d341 commit c75575f
Showing 1 changed file with 48 additions and 12 deletions.
60 changes: 48 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
- name: Publish Loxodon.Framework
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework/Assets/LoxodonFramework
/bin/cp -f $GITHUB_WORKSPACE/README.md ./
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
Expand All @@ -30,7 +29,6 @@ jobs:
- name: Publish Loxodon.Framework.Addressable
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Addressable/Assets/LoxodonFramework/Addressable
/bin/cp -f $GITHUB_WORKSPACE/Loxodon.Framework.Addressable/README.md ./
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
Expand All @@ -40,7 +38,6 @@ jobs:
- name: Publish Loxodon.Framework.Connection
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Connection/Assets/LoxodonFramework/Connection
/bin/cp -f $GITHUB_WORKSPACE/Loxodon.Framework.Connection/README.md ./
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
Expand All @@ -50,7 +47,6 @@ jobs:
- name: Publish Loxodon.Framework.FairyGUI
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.FairyGUI/Assets/LoxodonFramework/FairyGUI
/bin/cp -f $GITHUB_WORKSPACE/Loxodon.Framework.FairyGUI/README.md ./
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
Expand All @@ -60,7 +56,6 @@ jobs:
- name: Publish Loxodon.Framework.ILRuntime
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.ILRuntime/Assets/LoxodonFramework/ILRuntime
/bin/cp -f $GITHUB_WORKSPACE/Loxodon.Framework.ILRuntime/README.md ./
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
Expand All @@ -70,7 +65,6 @@ jobs:
- name: Publish Loxodon.Framework.LocalizationsForCsv
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.LocalizationsForCsv/Assets/LoxodonFramework/LocalizationsForCsv
/bin/cp -f $GITHUB_WORKSPACE/Loxodon.Framework.LocalizationsForCsv/README.md ./
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
Expand All @@ -80,7 +74,6 @@ jobs:
- name: Publish Loxodon.Framework.Log4Net
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Log4Net/Assets/LoxodonFramework/Log4Net
/bin/cp -f $GITHUB_WORKSPACE/Loxodon.Framework.Log4Net/README.md ./
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
Expand All @@ -90,7 +83,6 @@ jobs:
- name: Publish Loxodon.Framework.Obfuscation
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Obfuscation/Assets/LoxodonFramework/Obfuscation
/bin/cp -f $GITHUB_WORKSPACE/Loxodon.Framework.Obfuscation/README.md ./
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
Expand All @@ -100,7 +92,6 @@ jobs:
- name: Publish Loxodon.Framework.UIToolkit
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.UIToolkit/Assets/LoxodonFramework/UIToolkit
/bin/cp -f $GITHUB_WORKSPACE/Loxodon.Framework.UIToolkit/README.md ./
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
Expand All @@ -109,11 +100,56 @@ jobs:

- name: Publish Loxodon.Framework.Fody
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Fody/Assets/LoxodonFramework/Fody
/bin/cp -f $GITHUB_WORKSPACE/Loxodon.Framework.Fody/README.md ./
cd $GITHUB_WORKSPACE/Loxodon.Framework.Fody/Packages/com.vovgou.loxodon-framework-fody
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}


- name: Publish Loxodon.Framework.Fody.PropertyChanged
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Fody/Packages/com.vovgou.loxodon-framework-fody-propertychanged
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

- name: Publish Loxodon.Framework.Fody.ToString
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Fody/Packages/com.vovgou.loxodon-framework-fody-tostring
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

- name: Publish Loxodon.Framework.Data
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Data/Packages/com.vovgou.loxodon-framework-data
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

- name: Publish Loxodon.Framework.Data.LiteDB
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Data/Packages/com.vovgou.loxodon-framework-data-litedb
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

- name: Publish Loxodon.Framework.Data.Newtonsoft
run: |
cd $GITHUB_WORKSPACE/Loxodon.Framework.Data/Packages/com.vovgou.loxodon-framework-data-newtonsoft
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}


0 comments on commit c75575f

Please sign in to comment.