aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/push.yml
diff options
context:
space:
mode:
authorumarcor <unai.martinezcorral@ehu.eus>2020-05-28 14:39:59 +0200
committereine <6628437+eine@users.noreply.github.com>2020-06-06 05:14:22 +0200
commit5e4912d86a7c743d0661dd58a185214830ed8c27 (patch)
treefc4b2ae626373aa39c07dd02a26f85a2f6b6b7b6 /.github/workflows/push.yml
parent361f9e99e9f26ba8608621583efab6cf624ed2a8 (diff)
downloadghdl-5e4912d86a7c743d0661dd58a185214830ed8c27.tar.gz
ghdl-5e4912d86a7c743d0661dd58a185214830ed8c27.tar.bz2
ghdl-5e4912d86a7c743d0661dd58a185214830ed8c27.zip
ci(msys2): set default shell on GHA windows-latest jobs
Diffstat (limited to '.github/workflows/push.yml')
-rw-r--r--.github/workflows/push.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index 711d7da1c..b31c00d22 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -68,6 +68,9 @@ jobs:
env:
MINGW_INSTALLS: ${{ matrix.task.installs }}
TARGET: ${{ matrix.task.pkg }}
+ defaults:
+ run:
+ shell: msys2 {0}
steps:
- uses: eine/setup-msys2@v0
with:
@@ -75,9 +78,9 @@ jobs:
update: true
install: base-devel git
- run: git config --global core.autocrlf input
+ shell: bash
- uses: actions/checkout@v2
- name: Build and (hopefully) install package
- shell: msys2 {0}
run: |
./dist/msys2-mingw/run.sh -b
cp ./dist/msys2-mingw/${{ matrix.task.pkg }}/mingw-*ghdl*.pkg.tar.zst ghdl-gha-${{ matrix.installs }}-${{ matrix.task }}.zst
@@ -93,7 +96,6 @@ jobs:
with:
path: ./dist/msys2-mingw/${{ matrix.task.pkg }}/mingw-*ghdl*.pkg.tar.zst
- name: Test package
- shell: msys2 {0}
run: |
./dist/msys2-mingw/run.sh -t
env: