8000 fix new github actions · homeylab/bookstack-file-exporter@7646125 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7646125

Browse files
committed
fix new github actions
1 parent d9f3e18 commit 7646125

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/actions/python/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,25 @@ runs:
1212
using: composite
1313
steps:
1414
- name: Get tag release without v
15+
shell: bash
1516
run: |
1617
TAG=${{ github.ref_name }}
1718
echo "VERSION=${TAG#v}" >> "$GITHUB_ENV"
1819
echo "Tag without v is: ${VERSION}"
1920
- name: Update Release Tag
21+
shell: bash
2022
run: sed -i "s/^version = [^ ]*/version = ${{ env.VERSION }}/" setup.cfg
2123
- name: Set up Python
2224
uses: actions/setup-python@v3
2325
with:
2426
python-version: '3.12.1'
2527
- name: Install Dependencies
28+
shell: bash
2629
run: |
2730
python -m pip install --upgrade pip
2831
pip install build
2932
- name: Build Python Package
33+
shell: bash
3034
run: |
3135
python -m pip install --upgrade build
3236
python -m build

.github/actions/tests/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ runs:
1010
with:
1111
python-version: '3.12.1'
1212
- name: Install dependencies
13+
shell: bash
1314
run: |
1415
python -m pip install --upgrade pip
1516
pip install pylint
1617
- name: Analysing the code with pylint
18+
shell: bash
1719
run: |
1820
pylint $(git ls-files '*.py')

.github/workflows/on_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
needs: tests
2323
permissions:
24-
contents: write
24+
contents: write
2525
steps:
2626
- name: Checkout
2727
uses: actions/checkout@v4

0 commit comments

Comments
 (0)
0