Skip to content

Commit

Permalink
chore: fix semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
shdwmtr committed Jul 16, 2024
1 parent 52530d5 commit b468688
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,6 @@ jobs:
with:
submodules: true

- name: Setup | Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- name: Setup | Run Semantic Release
run: npm install --save-dev semantic-release @semantic-release/github @semantic-release/exec && npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Read version from file
id: read_version
run: |
Expand Down Expand Up @@ -178,6 +168,16 @@ jobs:
cp D:/a/Millennium/Millennium/Python-3.11.8/PCbuild/win32/python311.dll D:/a/Millennium/Millennium/build/artifacts/python311.dll
cp /d/a/Millennium/Millennium/build/user32.dll D:/a/Millennium/Millennium/build/artifacts
- name: Setup | Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- name: Setup | Run Semantic Release
run: npm install --save-dev semantic-release @semantic-release/github @semantic-release/exec && npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get Release Information
id: get_release
run: |
Expand Down
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"@semantic-release/release-notes-generator",
{
"path": "@semantic-release/github",
"assets": ["build/user32.dll"]
"assets": ["build/artifacts/python311.dll", "build/artifacts/user32.dll"]
}
]
}

0 comments on commit b468688

Please sign in to comment.