From 9d30e26d374c1e3130ab20b8e768e0c64c7a05ba Mon Sep 17 00:00:00 2001 From: Brian Shu Date: Sat, 1 May 2021 15:59:41 -0400 Subject: [PATCH] use bash --- .github/workflows/release.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 85194d2..dc78642 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 @@ -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"