Skip to content

Commit

Permalink
Update setup-python/java in GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mfussenegger committed Sep 9, 2024
1 parent 0a2e14a commit 30a623b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ root = true
charset = utf-8
indent_style = space
indent_size = 4

[yaml]
indent_size = 2
11 changes: 7 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"

- name: Set up Java
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 11

- name: Install dependencies
Expand All @@ -43,7 +45,7 @@ jobs:
env:
WACKLIG_TOKEN: ${{ secrets.WACKLIG_TOKEN }}
run: |
curl -s https://raw.githubusercontent.com/pipifein/wacklig-uploader/master/wacklig.py | python - --token $WACKLIG_TOKEN || echo "Upload to wacklig failed"
curl -s https://raw.githubusercontent.com/pipifein/wacklig-uploader/master/wacklig.py | python - --token "$WACKLIG_TOKEN" || echo "Upload to wacklig failed"
publish:
name: Build & publish package to pypi
Expand All @@ -53,9 +55,10 @@ jobs:
- uses: actions/checkout@master

- name: Set up python 3.7
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.7
cache: "pip"

- name: Build package
run: |
Expand Down

0 comments on commit 30a623b

Please sign in to comment.