Skip to content

Commit

Permalink
Merge pull request #11 from netboxlabs/develop
Browse files Browse the repository at this point in the history
🚚 release
  • Loading branch information
mfiedorowicz authored Sep 5, 2024
2 parents d4188e5 + b15c759 commit 96a8abd
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Write package.json
uses: DamianReeves/write-file-action@master
with:
path: ./package.json
path: package.json
write-mode: overwrite
contents: |
{
Expand All @@ -37,17 +37,10 @@ jobs:
"@semantic-release/changelog": "^6.0.3"
}
}
- name: Upload artifact package.json
uses: actions/upload-artifact@v4
with:
name: package.json
path: ./package.json
retention-days: 1
if-no-files-found: error
- name: Write .releaserc.json
uses: DamianReeves/write-file-action@master
with:
path: ./.releaserc.json
path: .releaserc.json
write-mode: overwrite
contents: |
{
Expand Down Expand Up @@ -85,11 +78,14 @@ jobs:
]
]
}
- name: Upload artifact .releaserc.json
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: .releaserc.json
path: ./.releaserc.json
name: semantic-release-artifacts
path: |
package.json
.releaserc.json
include-hidden-files: true
retention-days: 1
if-no-files-found: error
- name: setup semantic-release
Expand Down Expand Up @@ -131,14 +127,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Download artifact package.json
uses: actions/download-artifact@v4
with:
name: package.json
- name: Download artifact .releaserc.json
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: .releaserc.json
name: semantic-release-artifacts
- name: setup semantic-release
run: npm i
- name: Release
Expand Down

0 comments on commit 96a8abd

Please sign in to comment.