Skip to content

Commit

Permalink
feat: release as bin
Browse files Browse the repository at this point in the history
  • Loading branch information
loispostula committed Feb 16, 2024
1 parent b11bc31 commit 8365ca0
Show file tree
Hide file tree
Showing 13 changed files with 996 additions and 856 deletions.
6 changes: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[unstable]
registry-auth = true
[registries.foresight-mining-software-corporation]
index = "ssh://git@ssh.shipyard.rs/foresight-mining-software-corporation/crate-index.git"
[net]
git-fetch-with-cli = true
9 changes: 9 additions & 0 deletions .github/workflows/matrix.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"os": [
{
"arch": "x86_64-unknown-linux-gnu",
"name": "ubuntu-latest",
"extension": ""
}
]
}
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release FSLABScli

on:
pull_request:
push:
branches:
- main
workflow_dispatch:
inputs:
publish:
type: boolean
required: false
description: Trigger with publish

jobs:
publish:
uses: ForesightMiningSoftwareCorporation/github/.github/workflows/rust-build.yml@v1
with:
publish: ${{ (github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.publish)) && 'true' || 'false' }}
publish_binary: true
skip-test: ${{ github.event_name != 'pull_request' && github.event_name != 'pull_request_target' }}
secrets: inherit
Loading

0 comments on commit 8365ca0

Please sign in to comment.