Skip to content

Test Github actions

Test Github actions #4

Workflow file for this run

name: Playground
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
artifact-upload:
name: Artifact upload
runs-on: ubuntu-latest
strategy:
matrix:
animal: [cat, dog]
steps:
- uses: actions/checkout@v4
- name: Set name
run: |
mkdir build
echo '${{ matrix.animal }}' >> ${{ matrix.animal }}.txt
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: devops-artifact-${{ matrix.animal }}
path: build
artifact-download:
name: Artifact download
runs-on: ubuntu-latest
steps:
- name: Download artifact cat
uses: actions/download-artifact@v4
with:
path: build
- name: Check downloaded
run: |
ls build