Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmlee101 committed May 31, 2024
1 parent 928d34b commit 9cb2350
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 3 deletions.
19 changes: 19 additions & 0 deletions .github/composite/setup-cache/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Set up Keyed Cache
description: Set up Keyed Cache

runs:
using: composite
steps:
- name: Get Date for cache keying
id: get-date
run: |
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
shell: bash

- name: Set up cache
uses: actions/[email protected]
with:
path: ${{ env.CCACHE_BASEDIR }}
key: "${{ runner.os }}-${{ env.SCRIPT_NAME }}-${{ steps.get-date.outputs.date }}"
restore-keys: |
${{ runner.os }}-${{ env.SCRIPT_NAME }}-
16 changes: 16 additions & 0 deletions .github/composite/setup-certificate-1p/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Set up mirror certificates
description: Set up mirror certificates

runs:
using: composite
steps:
- name: Install 1Password CLI
uses: 1password/install-cli-action@v1
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ env.OP_SERVICE_ACCOUNT_TOKEN }}

- name: Update SSL Certificates from 1Password
run: |
op document get --output expensify.ca.crt expensify.ca.crt && sudo cp expensify.ca.crt /usr/local/share/ca-certificates/expensify.ca.crt
sudo update-ca-certificates
shell: bash
6 changes: 3 additions & 3 deletions .github/workflows/bedrock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ env:
TRAVIS_BRANCH: ${{ github.ref_name }}
CXX: g++-13 CC=gcc-13
jobs:
Create_Auth_Binary:
name: "Create Auth Binary"
Run_Bedrock_Tests:
name: "Create Bedrock and Test"
runs-on: ubuntu-20.04-v64 # The biggest and best for my baby
timeout-minutes: 30
steps:

- name: Checkout Auth
- name: Checkout Bedrock
uses: actions/[email protected]

- name: Get Date for cache
Expand Down

0 comments on commit 9cb2350

Please sign in to comment.