fix: forceer bash installatie in alpine runner container
This commit is contained in:
1 parent
84eec70925
commit
7f1482cd1e
2 files changed
+10
No files matched your search
@@ -15,6 +15,8 @@ jobs:
|
||||
if: gitea.event_name == 'workflow_dispatch'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Bash in Alpine
|
||||
run: "if [ -f /etc/alpine-release ]; then apk add --no-cache bash; fi"
|
||||
- name: Read recent CMS runtime errors
|
||||
run: |
|
||||
set -e
|
||||
@@ -32,6 +34,8 @@ jobs:
|
||||
if: startsWith(gitea.ref_name, 'v') == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Bash in Alpine
|
||||
run: "if [ -f /etc/alpine-release ]; then apk add --no-cache bash; fi"
|
||||
- name: Typecheck, lint, and test
|
||||
run: |
|
||||
set -e
|
||||
@@ -74,6 +78,8 @@ jobs:
|
||||
if: gitea.event_name == 'push' && gitea.ref_name == 'main'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Bash in Alpine
|
||||
run: "if [ -f /etc/alpine-release ]; then apk add --no-cache bash; fi"
|
||||
- name: Deploy
|
||||
run: |
|
||||
set -e
|
||||
@@ -296,6 +302,8 @@ jobs:
|
||||
if: startsWith(gitea.ref_name, 'v')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Bash in Alpine
|
||||
run: "if [ -f /etc/alpine-release ]; then apk add --no-cache bash; fi"
|
||||
- name: Build and deploy
|
||||
env:
|
||||
VERSION: ${{ gitea.ref_name }}
|
||||
|
||||
Reference in new issue
Block a user