Skip to content

Commit

Permalink
Updated Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ShabbirHasan1 committed May 11, 2022
1 parent 04c5555 commit 4aa09d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,31 +68,31 @@ jobs:
# command: test

- uses: Swatinem/rust-cache@v1

- name: Build macOS
if: matrix.os == 'macos-latest'
run: just build-mac
# - uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v1
- name: Build Windows
if: matrix.os == 'windows-latest'
run: just build-win
# - uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v1
- name: Build Linux
if: matrix.os == 'ubuntu-latest'
run: just build-linux
# - uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v1

- name: Upload build artefacts
uses: actions/upload-artifact@v3
with:
name: binaries
path: out/nse*.zip
if-no-files-found: error
# - uses: Swatinem/rust-cache@v1

publish:
runs-on: ubuntu-latest
needs: build
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v1
Expand All @@ -111,7 +111,6 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: publish
# - uses: Swatinem/rust-cache@v1

release:
runs-on: ubuntu-latest
Expand All @@ -129,7 +128,6 @@ jobs:
# Remove the dots for the markdown header
- name: MD Header
run: echo "MD_HEADER=$(echo ${{ github.ref_name }} | sed 's/\.//g')" >> $GITHUB_ENV
# - uses: Swatinem/rust-cache@v1
- name: Create release
uses: softprops/action-gh-release@v1
with:
Expand All @@ -147,4 +145,3 @@ jobs:
- MSVC Windows (x64 windows msvc)
You can install these by downloading and unzipping the appropriate asset, and moving the executable to ~/bin or any other binary folder in your path.
# - uses: Swatinem/rust-cache@v1
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nse"
version = "0.1.1"
version = "0.1.2"
edition = "2021"
authors = ["TechfaneTechnologies <techfanetechnologies@gmail.com>"]
description = "NSE is a rust binary and library for extracting real-time data from National Stock Exchange (India)"
Expand Down

0 comments on commit 4aa09d2

Please sign in to comment.