Skip to content

Commit

Permalink
feat: finalize initial release details
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloanan committed Apr 10, 2024
1 parent 9f62aad commit e6f27e8
Show file tree
Hide file tree
Showing 4 changed files with 769 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml → .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
- name: Upload Build Artifacts
uses: actions/upload-artifact@master
with:
name: Dev release ${{ github.sha }} - ${{ matrix.platform }}
name: Development ${{ github.sha }} - ${{ matrix.platform }}
path: |
target/release/bmap-server
35 changes: 35 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
on:
push:
tags:
- "*"

env:
CARGO_TERM_COLOR: always

jobs:
release:
name: Release Build - ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@master
- name: Setup Rust Toolchain
uses: dtolnay/rust-toolchain@nightly

- name: Rust Dependency Cache
uses: Swatinem/rust-cache@master

- name: Build
uses: clechasseur/rs-cargo@v2
with:
command: build
args: --release

- name: Create a Release
uses: softprops/action-gh-release@v2
with:
files: |
target/release/bmap-server
Loading

0 comments on commit e6f27e8

Please sign in to comment.