Skip to content

Commit

Permalink
ci: update to replace compiler services SDK as well
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelGrochoska committed Feb 7, 2024
1 parent fa2bed2 commit 88a19b6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/internal-publishing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- '*'

jobs:
package:
internal-release:
runs-on: ubuntu-latest
steps:

Expand All @@ -18,12 +18,12 @@ jobs:
node-version: 16

- run: npm install -g npm-cli-login
- run: npm-cli-login login -u "${{ secrets.ARTIFACTORY_USER }}" -p "${{ secrets.ARTIFACTORY_PASS }}" -e "tools-team@tfgco.com" -r "https://artifactory.tfgco.com/artifactory/api/npm/npm-local" -s @wls

- run: npm-cli-login login -u "${{secrets.ARTIFACTORY_USER}}" -p "${{secrets.ARTIFACTORY_PASS}}" -e "tools-team@tfgco.com" -r "https://artifactory.tfgco.com/artifactory/api/npm/npm-local" -s @wls --config-path ".npmrc"
- name: Update dependencies to match internal releases
run: |
cd pitaya-sharp/NPitaya
sed -i.bak 's/"org\.nuget\.google\.protobuf": "[^"]*",/"com\.wildlifestudios\.nuget\.google\.protobuf": "3.23.1",/' package.json && rm package.json.bak
sed -i.bak 's/"org\.nuget\.google\.protobuf": "[^"]*"/"com\.wildlifestudios\.nuget\.google\.protobuf": "3.12.4"/' package.json && rm package.json.bak
sed -i.bak 's/"org\.nuget\.system\.runtime\.compilerservices\.unsafe": "[^"]*"/"com\.wildlifestudios\.nuget\.system\.runtime\.compilerservices\.unsafe": "4.5.3"/' package.json && rm package.json.bak
- name: Publish to artifactory
run: cd pitaya-sharp/NPitaya && npm publish
run: npm publish

0 comments on commit 88a19b6

Please sign in to comment.