mirror of
https://github.com/bitwarden/cli
synced 2025-12-26 13:03:14 +00:00
testing GH Action cache
This commit is contained in:
24
.github/workflows/exp.yml
vendored
Normal file
24
.github/workflows/exp.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Windows Environment Exploration
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
exp:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Cache Dist
|
||||
id: cached-dist
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: dist
|
||||
key: ${{ runner.os }}-${{ hashFiles('dist/') }}
|
||||
|
||||
- name: Creating test cache
|
||||
shell: bash
|
||||
run: |
|
||||
[ -f dist/test.txt ] && echo "File exists!"
|
||||
[ ! -f dist/test.txt ] && mkdir dist && echo "this is a test" > dist/test.txt
|
||||
Reference in New Issue
Block a user