Skip to content

Commit

Permalink
ci: fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
jnicoulaud-ledger committed Sep 23, 2024
1 parent f705cc1 commit 57899fd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ jobs:
env:
FURY_TOKEN: ${{ secrets.PYPI_DEPLOY_TOKEN}}

- name: Create directories
timeout-minutes: 10
run: mkdir -p dist build/exe

- name: Build library artifacts
timeout-minutes: 10
run: pdm build
Expand All @@ -58,7 +54,7 @@ jobs:
timeout-minutes: 10
uses: LedgerHQ/actions-security/actions/attest@actions/attest-1
with:
subject-path: build/exe/*
subject-path: erc7730

- name: Sign library artifacts
timeout-minutes: 10
Expand All @@ -70,7 +66,7 @@ jobs:
timeout-minutes: 10
uses: LedgerHQ/actions-security/actions/sign-blob@actions/sign-blob-1
with:
path: build/exe
path: erc7730

- name: Upload library artifacts to Ledger Artifactory repository
timeout-minutes: 10
Expand All @@ -86,6 +82,6 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: build/exe/erc7730
file: erc7730
asset_name: erc7730
overwrite: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ outputs/**/*.html
exports
dist/
build/
erc7730
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ test.shell = "pytest tests"
all.help = "Run lint+test"
all.shell = { composite = ["lint", "test"] }
exe.help = "Package the application into a standalone executable"
exe.shell = "pdm pack --compress --exe --interpreter '/usr/bin/env python3' --output build/exe/erc7730"
exe.shell = "pdm pack --compress --exe --interpreter '/usr/bin/env python3' --output erc7730"

[tool.pdm]
plugins = ["sync-pre-commit-lock", "pdm-packer"]
Expand Down

0 comments on commit 57899fd

Please sign in to comment.