deploy: Set the default shell so it doesn't need to be repeated.

This commit is contained in:
Eric Huss 2023-07-16 16:40:11 -07:00
parent 394061d28d
commit baa936439d
1 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,10 @@ on:
release: release:
types: [created] types: [created]
defaults:
run:
shell: bash
jobs: jobs:
release: release:
name: Deploy Release name: Deploy Release
@ -30,15 +34,12 @@ jobs:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: Install hub - name: Install hub
run: ci/install-hub.sh ${{ matrix.os }} run: ci/install-hub.sh ${{ matrix.os }}
shell: bash
- name: Install Rust - name: Install Rust
run: ci/install-rust.sh stable ${{ matrix.target }} run: ci/install-rust.sh stable ${{ matrix.target }}
shell: bash
- name: Build and deploy artifacts - name: Build and deploy artifacts
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ci/make-release-asset.sh ${{ matrix.os }} ${{ matrix.target }} run: ci/make-release-asset.sh ${{ matrix.os }} ${{ matrix.target }}
shell: bash
pages: pages:
name: GitHub Pages name: GitHub Pages
runs-on: ubuntu-latest runs-on: ubuntu-latest