Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dsikka committed Feb 21, 2024
1 parent 5e245b5 commit 4f22d22
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
schedule:
- cron: '0 0 * * *'

permissions:
id-token: write
contents: read

# if not dev or release, will create a nightly build
# everything is pushed to internal unless created through a nightly scheduled cron job
env:
Expand All @@ -23,9 +27,6 @@ jobs:
runs-on: ubuntu-latest
outputs:
wheel: ${{ steps.push-wheel.outputs.wheel }}
permissions:
id-token: write
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -51,9 +52,6 @@ jobs:
pull_and_test:
needs: build_and_push
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Login to s3
uses: aws-actions/configure-aws-credentials@v2
Expand All @@ -67,7 +65,6 @@ jobs:
uses: neuralmagic/nmstore/actions/s3_pull@pypi-test
with:
filename: ${{ needs.build_and_push.outputs.wheel }}
internal: $INTERNAL
dst: dist_s3
- name: Install Wheel
run: |
Expand Down

0 comments on commit 4f22d22

Please sign in to comment.