changing simple bootloader hint for the optimization of hash calculat… #78
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Upload-Artifacts | |
| on: | |
| push: | |
| branches: | |
| - efrat/temp_rust_vm_for_identical_hash_opt | |
| jobs: | |
| artifacts-push: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Get commit hash prefix for PR update | |
| env: | |
| COMMIT_SHA: ${{ github.sha }} | |
| run: | | |
| echo "SHORT_HASH=${COMMIT_SHA:0:7}" >> $GITHUB_ENV | |
| - run: cargo build -r | |
| - name: Authenticate with GCS | |
| uses: "google-github-actions/auth@v2" | |
| with: | |
| credentials_json: ${{ secrets.SA_GPS_ARTIFACTS_BUCKET_WRITER_ACCESS_KEY }} | |
| - name: Upload binary to GCP | |
| id: upload_file | |
| uses: "google-github-actions/upload-cloud-storage@v2" | |
| with: | |
| path: "target/release/cairo_program_runner" | |
| destination: "cairo_program_runner_artifacts/${{ env.SHORT_HASH }}/release" |