Skip to content

Commit

Permalink
Os agnostic ls and fix input
Browse files Browse the repository at this point in the history
  • Loading branch information
Baarsgaard committed Aug 20, 2023
1 parent f9d210a commit 515e135
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-rs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
echo PKG_VERSION=$(awk -F ' = ' '$1 ~ /version/ { gsub(/["]/, "", $2); printf("%s",$2) }' jig-cli/Cargo.toml) >> $GITHUB_OUTPUT
- name: Create draft release
if: ${{ github.event.inputs.draft }}
run: gh release create 'v${{ steps.crate-version.outputs.PKG_VERSION }}' --draft
if: ${{ inputs.draft == 'true' }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Create release
if: ${{ !github.event.inputs.draft }}
run: gh release create 'v${{ steps.crate-version.outputs.PKG_VERSION }}'
if: ${{ inputs.draft != 'true' }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
targets: "${{ matrix.target }}"

- run: "cargo build --release ${{ matrix.features }} --target ${{ matrix.target }}"
- run: ls -al target/release/
- run: ls target/release/
# - run: gh release upload v${{ needs.get-tag.}} target/release/jig
# env:
# GH_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit 515e135

Please sign in to comment.