-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed duplicate Mac zips in actions cache
- Loading branch information
1 parent
e81d3e7
commit 01d6b30
Showing
2 changed files
with
5 additions
and
31 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -126,16 +126,11 @@ jobs: | |
run: ci-scripts/.github/scripts/build-mac.sh | ||
env: | ||
ACTIONS_READ_ACCESS_TOKEN: ${{ secrets.ACTIONS_READ_ACCESS_TOKEN }} | ||
- name: Cache Intel zip | ||
- name: Cache zip | ||
uses: actions/cache/[email protected] | ||
with: | ||
path: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
key: ${{ github.run_id }}-${{ github.run_number }}_${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
- name: Cache ARM zip | ||
uses: actions/cache/[email protected] | ||
with: | ||
path: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-ARM-${{ env.VERSION }}.zip | ||
key: ${{ github.run_id }}-${{ github.run_number }}_${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-ARM-${{ env.VERSION }}.zip | ||
|
||
build-mac-m1: | ||
runs-on: macos-14 | ||
|
@@ -167,16 +162,11 @@ jobs: | |
run: ci-scripts/.github/scripts/build-mac.sh | ||
env: | ||
ACTIONS_READ_ACCESS_TOKEN: ${{ secrets.ACTIONS_READ_ACCESS_TOKEN }} | ||
- name: Cache Intel zip | ||
- name: Cache zip | ||
uses: actions/cache/[email protected] | ||
with: | ||
path: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
key: ${{ github.run_id }}-${{ github.run_number }}_${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
- name: Cache ARM zip | ||
uses: actions/cache/[email protected] | ||
with: | ||
path: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-ARM-${{ env.VERSION }}.zip | ||
key: ${{ github.run_id }}-${{ github.run_number }}_${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-ARM-${{ env.VERSION }}.zip | ||
|
||
check-cache-linux: | ||
needs: build-linux | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,22 +130,14 @@ jobs: | |
- name: Get release | ||
id: get_release | ||
uses: bruceadams/[email protected] | ||
- name: Upload Intel zip | ||
id: upload-zip-intel | ||
- name: Upload zip | ||
id: upload-zip | ||
uses: actions/[email protected] | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
asset_name: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
asset_content_type: application/zip | ||
- name: Upload ARM zip | ||
id: upload-zip-arm | ||
uses: actions/[email protected] | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-ARM-${{ env.VERSION }}.zip | ||
asset_name: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-ARM-${{ env.VERSION }}.zip | ||
asset_content_type: application/zip | ||
|
||
build-mac-m1: | ||
runs-on: macos-14 | ||
|
@@ -181,18 +173,10 @@ jobs: | |
id: get_release | ||
uses: bruceadams/[email protected] | ||
- name: Upload Intel zip | ||
id: upload-zip-intel | ||
id: upload-zip | ||
uses: actions/[email protected] | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
asset_name: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
asset_content_type: application/zip | ||
- name: Upload ARM zip | ||
id: upload-zip-arm | ||
uses: actions/[email protected] | ||
with: | ||
upload_url: ${{ steps.get_release.outputs.upload_url }} | ||
asset_path: ./${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-ARM-${{ env.VERSION }}.zip | ||
asset_name: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-ARM-${{ env.VERSION }}.zip | ||
asset_content_type: application/zip |