Skip to content

Commit

Permalink
Fix pdm release workflow (#78)
Browse files Browse the repository at this point in the history
* add python cache to workflow

* fix release workflow
  • Loading branch information
The-Ludwig authored Oct 31, 2023
1 parent 93d63d7 commit 62d1a81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python-version }}
cache: true

- name: Install dependencies
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@ jobs:
corsika-version: ["77500"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python-version }}
cache: true

- name: Install dependencies
run: |
Expand Down

0 comments on commit 62d1a81

Please sign in to comment.