Skip to content

Commit 96a8abd

Browse files
authored
Merge pull request #11 from netboxlabs/develop
🚚 release
2 parents d4188e5 + b15c759 commit 96a8abd

File tree

1 file changed

+10
-18
lines changed

1 file changed

+10
-18
lines changed

.github/workflows/release.yaml

+10-18
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Write package.json
2727
uses: DamianReeves/write-file-action@master
2828
with:
29-
path: ./package.json
29+
path: package.json
3030
write-mode: overwrite
3131
contents: |
3232
{
@@ -37,17 +37,10 @@ jobs:
3737
"@semantic-release/changelog": "^6.0.3"
3838
}
3939
}
40-
- name: Upload artifact package.json
41-
uses: actions/upload-artifact@v4
42-
with:
43-
name: package.json
44-
path: ./package.json
45-
retention-days: 1
46-
if-no-files-found: error
4740
- name: Write .releaserc.json
4841
uses: DamianReeves/write-file-action@master
4942
with:
50-
path: ./.releaserc.json
43+
path: .releaserc.json
5144
write-mode: overwrite
5245
contents: |
5346
{
@@ -85,11 +78,14 @@ jobs:
8578
]
8679
]
8780
}
88-
- name: Upload artifact .releaserc.json
81+
- name: Upload artifacts
8982
uses: actions/upload-artifact@v4
9083
with:
91-
name: .releaserc.json
92-
path: ./.releaserc.json
84+
name: semantic-release-artifacts
85+
path: |
86+
package.json
87+
.releaserc.json
88+
include-hidden-files: true
9389
retention-days: 1
9490
if-no-files-found: error
9591
- name: setup semantic-release
@@ -131,14 +127,10 @@ jobs:
131127
- uses: actions/setup-node@v4
132128
with:
133129
node-version: "lts/*"
134-
- name: Download artifact package.json
135-
uses: actions/download-artifact@v4
136-
with:
137-
name: package.json
138-
- name: Download artifact .releaserc.json
130+
- name: Download artifacts
139131
uses: actions/download-artifact@v4
140132
with:
141-
name: .releaserc.json
133+
name: semantic-release-artifacts
142134
- name: setup semantic-release
143135
run: npm i
144136
- name: Release

0 commit comments

Comments
 (0)