*: initial scaffolding for the stickydisk action #8
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
name: Basic Sticky Disk Test | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
jobs: | |
test-sticky-disk: | |
name: Test Sticky Disk | |
runs-on: blacksmith-staging | |
steps: | |
- name: Mount Sticky Disk | |
uses: useblacksmith/stickydisk@initial-commit | |
with: | |
key: foo | |
path: /shouldseethis | |
- name: List directory if exists | |
run: | | |
if [ -d "/shouldseethis" ]; then | |
ls -la /shouldseethis | |
fi | |
- name: Write test file | |
run: sudo sh -c 'echo "Hello from sticky disk" > /shouldseethis/test.txt' |