Compare commits
2 Commits
aa59067bb3
...
4d90e52c36
| Author | SHA1 | Date | |
|---|---|---|---|
|
4d90e52c36
|
|||
|
55c8fc0a4f
|
@@ -94,25 +94,20 @@ jobs:
|
||||
with:
|
||||
path: artifacts
|
||||
|
||||
- name: List artifacts
|
||||
run: ls -la artifacts/
|
||||
|
||||
- name: Determine tag
|
||||
id: tag
|
||||
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: ${{ github.ref_name }}
|
||||
name: RustLock v${{ steps.tag.outputs.VERSION }}
|
||||
draft: true
|
||||
prerelease: ${{ contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') }}
|
||||
files: |
|
||||
artifacts/rustlock-default-ubuntu/rustlock
|
||||
artifacts/rustlock-no-networking-ubuntu/rustlock
|
||||
artifacts/rustlock-default-debian/rustlock
|
||||
artifacts/rustlock-default-fedora/rustlock
|
||||
artifacts/rustlock-default-arch/rustlock
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
artifacts/rustlock-default-ubuntu/rustlock/rustlock
|
||||
artifacts/rustlock-no-networking-ubuntu/rustlock/rustlock
|
||||
artifacts/rustlock-default-debian/rustlock/rustlock
|
||||
artifacts/rustlock-default-fedora/rustlock/rustlock
|
||||
artifacts/rustlock-default-arch/rustlock/rustlock
|
||||
|
||||
@@ -1,70 +1,10 @@
|
||||
# Cargo-deny configuration for RustLock
|
||||
# See: https://embarkstudios.github.io/cargo-deny/
|
||||
|
||||
[advisories]
|
||||
# Check for security vulnerabilities
|
||||
vulnerability = "deny"
|
||||
# Check for unmaintained crates
|
||||
unmaintained = "warn"
|
||||
# Check for unsound crates
|
||||
unsound = "deny"
|
||||
# Check for yanked crates
|
||||
yanked = "deny"
|
||||
# Ignore specific advisories
|
||||
ignore = [
|
||||
# Add specific advisory IDs to ignore here if needed
|
||||
]
|
||||
|
||||
# Sources for advisory database
|
||||
[advisories.db]
|
||||
# Use GitHub advisory database
|
||||
github-data = "https://github.com/rustsec/advisory-db"
|
||||
# Update frequency (daily)
|
||||
update-frequency = "daily"
|
||||
ignore = []
|
||||
|
||||
[bans]
|
||||
# Multiple versions of the same crate
|
||||
multiple-versions = "allow"
|
||||
# Wildcard dependencies (e.g., "1.*")
|
||||
wildcards = "deny"
|
||||
|
||||
# Skip specific crates from checks
|
||||
skip = [
|
||||
# Add crate names to skip here if needed
|
||||
]
|
||||
|
||||
[licenses]
|
||||
# Default license policy
|
||||
default = "deny"
|
||||
# Allow these licenses
|
||||
allow = [
|
||||
"MIT",
|
||||
"Apache-2.0",
|
||||
"BSD-2-Clause",
|
||||
"BSD-3-Clause",
|
||||
"ISC",
|
||||
"Zlib",
|
||||
"Unlicense",
|
||||
"CC0-1.0",
|
||||
"MPL-2.0",
|
||||
"AGPL-3.0-or-later", # Our own license
|
||||
]
|
||||
# Copyleft licenses that require special attention
|
||||
copyleft = "warn"
|
||||
# Unknown licenses
|
||||
unlicensed = "deny"
|
||||
|
||||
# Skip specific crates from license checks
|
||||
skip = [
|
||||
# Add crate names to skip here if needed
|
||||
]
|
||||
|
||||
[sources]
|
||||
# Allow only these registries
|
||||
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
||||
# Deny git repositories (except for specific cases)
|
||||
allow-git = []
|
||||
|
||||
[metadata]
|
||||
# Minimum severity level to display
|
||||
severity-threshold = "low"
|
||||
Reference in New Issue
Block a user