Skip to content

Commit

Permalink
use bash
Browse files Browse the repository at this point in the history
  • Loading branch information
oberblastmeister committed May 1, 2021
1 parent 4d502f9 commit 9d30e26
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,15 @@ jobs:

steps:
- run: echo "TAG=$(date --iso -u)" >> $GITHUB_ENV
shell: bash
if: github.ref == 'refs/heads/release'

- run: echo "TAG=nightly" >> $GITHUB_ENV
shell: bash
if: github.ref != 'refs/heads/release'

- run: 'echo "TAG: $TAG"'
shell: bash

- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -46,6 +51,7 @@ jobs:
cargo build --manifest-path ./crates/lua-analyzer/Cargo.toml --bin lua-analyzer --target ${{ matrix.target }} --release
- name: Package
shell: bash
run: |
if [ "${{ matrix.os }}" = "windows-latest" ]; then
cp "target/${{ matrix.target }}/release/lua-analyzer.exe" "lua-analyzer-${{ matrix.target }}.exe"
Expand Down

0 comments on commit 9d30e26

Please sign in to comment.