Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcpeapsUnterstrichHD committed Sep 3, 2024
1 parent 429bd23 commit 96bc378
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/rust-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
uses: actions/checkout@v3

- name: Set up Rust
uses: actions/setup-rust@v1
uses: actions-rs/toolchain@v1
with:
rust-version: '1.70' # Setzen Sie hier die gewünschte Rust-Version ein
toolchain: '1.70' # Setzen Sie hier die gewünschte Rust-Version ein

- name: Build
run: cargo build --release
Expand All @@ -27,7 +27,11 @@ jobs:
run: |
VERSION=$(date +'%Y-%m-%d')
echo "VERSION=${VERSION}" >> $GITHUB_ENV
# Install GitHub CLI
sudo apt-get install gh
# Create the release
gh release create "${VERSION}" target/release/your_binary_name --title "Release ${VERSION}" --notes "Release created on ${VERSION}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 96bc378

Please sign in to comment.