Skip to content

Commit

Permalink
chore(ci): revert debugging commit and fix post-merge native push (#376)
Browse files Browse the repository at this point in the history
Signed-off-by: Dori Medini <[email protected]>
  • Loading branch information
dorimedini-starkware authored Aug 10, 2024
1 parent 4c097e2 commit fb793a7
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/blockifier_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ jobs:
native-blockifier-artifacts-push:
runs-on: starkware-ubuntu-20-04-medium
steps:
- name: tmp step
run: |
echo ${{ github.event.pull_request.head.repo.full_name }}
echo ${{ github.repository }}
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable

Expand Down Expand Up @@ -78,14 +73,16 @@ jobs:
- name: Authenticate with GCS
# Fork PRs do not have access to secrets.
if: github.event.pull_request.head.repo.full_name == github.repository
# Push events should trigger the upload regardless of the originating PR.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
uses: "google-github-actions/auth@v2"
with:
credentials_json: ${{ secrets.SA_NATIVE_BLOCKIFIER_ARTIFACTS_BUCKET_WRITER_ACCESS_KEY }}

- name: Upload binary to GCP
# Fork PRs do not have access to secrets (so no uploading).
if: github.event.pull_request.head.repo.full_name == github.repository
# Push events should trigger the upload regardless of the originating PR.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
id: upload_file
uses: "google-github-actions/upload-cloud-storage@v2"
with:
Expand Down

0 comments on commit fb793a7

Please sign in to comment.