Skip to content

fix(deps): bump actions/cache from 3 to 4 #45

fix(deps): bump actions/cache from 3 to 4

fix(deps): bump actions/cache from 3 to 4 #45

Workflow file for this run

# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
name: Build
on:
push:
branches-ignore: # build all branches except:
- 'dependabot/**' # prevent GHA triggered twice (once for commit to the branch and once for opening/syncing the PR)
tags-ignore: # don't build tags
- '**'
paths-ignore:
- '**/*.adoc'
- '**/*.md'
- '.editorconfig'
- '.git*'
- '.github/*.yml'
pull_request:
workflow_dispatch:
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
defaults:
run:
shell: cmd
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- windows-2019
- windows-2022
steps:
- name: Show environment variables
run: set
- name: Git Checkout
uses: actions/checkout@v4 # https://github.com/actions/checkout
- name: "Cache: cygwin packages repository"
uses: actions/cache@v4
with:
path: cygwin\.pkg-cache
key: ${{ runner.os }}-cygwinrepo
- name: "Install: cygwin-portable"
run: call .\cygwin-portable-installer.cmd
- name: "Test: Start cygwin-portable"
run: call .\cygwin-portable.cmd "bash --version"
- name: "Test: apt-cyg update"
run: call .\cygwin-portable.cmd "apt-cyg update"