Skip to content

Commit fea3533

Browse files
authored
fix: added archive extraction to workflow (#8)
1 parent c9558be commit fea3533

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

.github/workflows/publish.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,19 @@ jobs:
8686
name: clean-source
8787
path: ./
8888

89+
- name: Extract source archive
90+
run: tar -xzf clean-source.tar.gz
91+
92+
- name: Remove extracted source archive
93+
run: rm clean-source.tar.gz
94+
8995
- name: Set up Node.js for npmjs
9096
uses: actions/setup-node@v4
9197
with:
9298
node-version: 24
9399
registry-url: https://registry.npmjs.org/
94100
cache: npm
101+
cache-dependency-path: package-lock.json
95102

96103
- name: Set up Git user
97104
run: |
@@ -114,12 +121,19 @@ jobs:
114121
name: clean-source
115122
path: ./
116123

124+
- name: Extract source archive
125+
run: tar -xzf clean-source.tar.gz
126+
127+
- name: Remove extracted source archive
128+
run: rm clean-source.tar.gz
129+
117130
- name: Set up Node.js for GPR
118131
uses: actions/setup-node@v4
119132
with:
120133
node-version: 24
121134
registry-url: https://npm.pkg.github.com/
122135
cache: npm
136+
cache-dependency-path: package-lock.json
123137

124138
- name: Set up Git user
125139
run: |

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@networkpro/docs",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "The documentation portal for Network Pro Strategies (Network Pro™)",
55
"keywords": [
66
"android",

0 commit comments

Comments
 (0)