diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2024-03-09 14:57:57 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2024-03-09 14:57:57 -0700 |
| commit | c324271b99eee4c621463f368914d57cd729bd9c (patch) | |
| tree | 5d979d333a2d5f9c080991d5482fd5916f8579c6 /.github/actions | |
| parent | 931bffbda3668ddc609fc1da8f9eb576b170aa52 (diff) | |
| parent | ade1b12f49c3b3914c74847d791eb90ea90b56b7 (diff) | |
| download | rneovim-c324271b99eee4c621463f368914d57cd729bd9c.tar.gz rneovim-c324271b99eee4c621463f368914d57cd729bd9c.tar.bz2 rneovim-c324271b99eee4c621463f368914d57cd729bd9c.zip | |
Merge remote-tracking branch 'upstream/master' into userreg
Diffstat (limited to '.github/actions')
| -rw-r--r-- | .github/actions/cache/action.yml | 2 | ||||
| -rw-r--r-- | .github/actions/setup/action.yml | 29 |
2 files changed, 30 insertions, 1 deletions
diff --git a/.github/actions/cache/action.yml b/.github/actions/cache/action.yml index d668c7a7cc..8a5c53a139 100644 --- a/.github/actions/cache/action.yml +++ b/.github/actions/cache/action.yml @@ -25,7 +25,7 @@ runs: # if it makes the expression below simpler. hashFiles() has a timer that # will fail the job if it times out, which can happen if there are too many # files to search through. - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: .deps key: ${{ env.CACHE_KEY }}-${{ steps.image.outputs.version }}-${{ hashFiles('cmake**', diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml new file mode 100644 index 0000000000..dfa3101abc --- /dev/null +++ b/.github/actions/setup/action.yml @@ -0,0 +1,29 @@ +name: 'setup' +description: "Creates necessary setup for CI" +inputs: + install_flags: + description: 'Install script flags' + required: false + default: '' +runs: + using: "composite" + steps: + - name: Set $BIN_DIR + shell: bash + run: echo "$BIN_DIR" >> $GITHUB_PATH + + - if: ${{ runner.os != 'Windows' }} + name: Set ulimit + shell: bash + run: ulimit -c unlimited + + - if: ${{ runner.os == 'Windows' }} + run: .github/scripts/env.ps1 + shell: pwsh + + - name: Install dependencies + run: ./.github/scripts/install_deps.sh ${{ inputs.install_flags }} + shell: bash + + - name: Cache + uses: ./.github/actions/cache |