Merge pull request 'Adjust semantic release workflow' (#1) from guilhem/semver into main
Some checks failed
Build and create binary artifact / release (push) Successful in 3m2s
Check code passes formatting and lint rules / check (push) Successful in 2m37s
Check code passes formatting and lint rules / cargo fmt (push) Successful in 2m11s
Release / release (push) Failing after 4m29s
Some checks failed
Build and create binary artifact / release (push) Successful in 3m2s
Check code passes formatting and lint rules / check (push) Successful in 2m37s
Check code passes formatting and lint rules / cargo fmt (push) Successful in 2m11s
Release / release (push) Failing after 4m29s
Reviewed-on: #1
This commit is contained in:
commit
1304057b32
5 changed files with 934 additions and 3 deletions
|
@ -1,3 +1,5 @@
|
|||
name: Check code passes formatting and lint rules
|
||||
|
||||
on: [push]
|
||||
jobs:
|
||||
check:
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
on: [push]
|
||||
name: Build and create binary artifact
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
release:
|
||||
runs-on: docker
|
||||
|
@ -8,5 +13,5 @@ jobs:
|
|||
- run: cargo build --release
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: binary
|
||||
path: target/release/forgejo_automate
|
||||
name: binary
|
||||
path: target/release/forgejo_automate
|
||||
|
|
|
@ -16,6 +16,13 @@
|
|||
"assets": ["CHANGELOG.md", "VERSION"],
|
||||
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@saithodev/semantic-release-gitea",
|
||||
{
|
||||
"giteaUrl": "https://git.aquila-consortium.org",
|
||||
"assets": ["CHANGELOG.md"]
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
|
916
package-lock.json
generated
916
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -17,6 +17,7 @@
|
|||
"license": "ISC",
|
||||
"type": "commonjs",
|
||||
"devDependencies": {
|
||||
"@saithodev/semantic-release-gitea": "^2.1.0",
|
||||
"@semantic-release/changelog": "^6.0.3",
|
||||
"@semantic-release/commit-analyzer": "^13.0.1",
|
||||
"@semantic-release/exec": "^7.1.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue