Skip to content

Commit

Permalink
try azure federated identity with actions env (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
xbrianh authored Sep 3, 2024
1 parent 82732a0 commit f3baf63
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
jobs:
test:
runs-on: ubuntu-latest
environment:
name: xdlake
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -53,6 +55,8 @@ jobs:
runs-on: ubuntu-latest
name: Build dist packages
needs: test
environment:
name: xdlake
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -79,7 +83,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs: build
environment:
name: pypi
name: xdlake
url: https://pypi.org/p/xdlake
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
Expand Down

0 comments on commit f3baf63

Please sign in to comment.