|
11 | 11 |
|
12 | 12 | jobs:
|
13 | 13 | publish_artifacts:
|
14 |
| - runs-on: macos-latest |
| 14 | + runs-on: ubuntu-latest |
15 | 15 |
|
16 | 16 | steps:
|
17 | 17 | - uses: actions/checkout@v4
|
|
42 | 42 | ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ARTIFACT_SIGNING_PRIVATE_KEY }}
|
43 | 43 | run: ./gradlew publishAllPublicationsToMavenCentralRepository -Pversion=${{ env.RELEASE_VERSION }}
|
44 | 44 |
|
45 |
| - publish_release: |
46 |
| - needs: publish_artifacts |
47 |
| - |
48 |
| - runs-on: ubuntu-latest |
49 |
| - |
50 |
| - steps: |
51 |
| - - uses: actions/checkout@v4 |
52 |
| - with: |
53 |
| - token: ${{ secrets.PUSH_PAT }} |
54 |
| - |
55 |
| - - name: Generate versions |
56 |
| - uses: HardNorth/github-version-generate@v1 |
57 |
| - with: |
58 |
| - version-source: file |
59 |
| - version-file: ${{ env.VERSION_FILE }} |
60 |
| - version-file-extraction-pattern: ${{ env.VERSION_EXTRACT_PATTERN }} |
61 |
| - |
62 | 45 | - name: Create, checkout, and push release branch
|
63 | 46 | run: |
|
64 | 47 | git config user.name eygraber
|
@@ -122,10 +105,13 @@ jobs:
|
122 | 105 | sed -i -E -e 's/(compose-placeholder.*:)[0-9]+\.[0-9]+\.[0-9]+"/\1${{ env.RELEASE_VERSION }}"/g' README.md && \
|
123 | 106 | sed -i -E -e 's/(compose-placeholder.*:)[0-9]+\.[0-9]+\.[0-9]+-SNAPSHOT/\1${{ env.NEXT_VERSION }}-SNAPSHOT/g' README.md
|
124 | 107 |
|
| 108 | + - name: Update package-lock.json if needed |
| 109 | + run: ./gradlew kotlinUpgradePackageLock --no-build-cache --no-configuration-cache --rerun-tasks |
| 110 | + |
125 | 111 | - name: Commit next dev version
|
126 | 112 | id: commit_next_dev
|
127 | 113 | uses: EndBug/add-and-commit@v9
|
128 | 114 | with:
|
129 |
| - add: "['gradle.properties', 'README.md']" |
| 115 | + add: "['gradle.properties', 'README.md', 'kotlin-js-store/package-lock.json']" |
130 | 116 | default_author: github_actions
|
131 | 117 | message: "Prepare next dev version"
|
0 commit comments