@@ -336,10 +336,6 @@ jobs:
336
336
user-id : Debian
337
337
match-pattern : ' *Debian*'
338
338
default-absent-tool : dos2unix
339
- - wsl-id : Alpine
340
- user-id : Alpine
341
- match-pattern : ' *Alpine*'
342
- default-absent-tool : dos2unix
343
339
- wsl-id : kali-linux
344
340
user-id : kali-linux
345
341
match-pattern : ' *Kali*'
@@ -828,10 +824,6 @@ jobs:
828
824
user-id : Debian
829
825
match-pattern : ' *Debian*'
830
826
default-absent-tool : dos2unix
831
- - wsl-id : Alpine
832
- user-id : Alpine
833
- match-pattern : ' *Alpine*'
834
- default-absent-tool : dos2unix
835
827
- wsl-id : kali-linux
836
828
user-id : kali-linux
837
829
match-pattern : ' *Kali*'
@@ -928,10 +920,6 @@ jobs:
928
920
user-id : Debian
929
921
match-pattern : ' *Debian*'
930
922
default-absent-tool : dos2unix
931
- - wsl-id : Alpine
932
- user-id : Alpine
933
- match-pattern : ' *Alpine*'
934
- default-absent-tool : dos2unix
935
923
- wsl-id : kali-linux
936
924
user-id : kali-linux
937
925
match-pattern : ' *Kali*'
@@ -1061,10 +1049,6 @@ jobs:
1061
1049
user-id : Debian
1062
1050
match-pattern : ' *Debian*'
1063
1051
default-absent-tool : dos2unix
1064
- - wsl-id : Alpine
1065
- user-id : Alpine
1066
- match-pattern : ' *Alpine*'
1067
- default-absent-tool : dos2unix
1068
1052
- wsl-id : kali-linux
1069
1053
user-id : kali-linux
1070
1054
match-pattern : ' *Kali*'
@@ -1290,10 +1274,6 @@ jobs:
1290
1274
user-id : Debian
1291
1275
match-pattern : ' *Debian*'
1292
1276
default-absent-tool : dos2unix
1293
- - wsl-id : Alpine
1294
- user-id : Alpine
1295
- match-pattern : ' *Alpine*'
1296
- default-absent-tool : dos2unix
1297
1277
- wsl-id : kali-linux
1298
1278
user-id : kali-linux
1299
1279
match-pattern : ' *Kali*'
@@ -1499,31 +1479,26 @@ jobs:
1499
1479
match-pattern : ' *Debian*'
1500
1480
default-absent-tool : dos2unix
1501
1481
distribution2 :
1502
- wsl-id : Alpine
1503
- user-id : Alpine
1504
- match-pattern : ' *Alpine*'
1505
- default-absent-tool : dos2unix
1506
- distribution3 :
1507
1482
wsl-id : kali-linux
1508
1483
user-id : kali-linux
1509
1484
match-pattern : ' *Kali*'
1510
1485
default-absent-tool : dos2unix
1511
- distribution4 :
1486
+ distribution3 :
1512
1487
wsl-id : openSUSE-Leap-15.2
1513
1488
user-id : openSUSE-Leap-15.2
1514
1489
match-pattern : ' *openSUSE*Leap*15.2*'
1515
1490
default-absent-tool : which
1516
- distribution5 :
1491
+ distribution4 :
1517
1492
wsl-id : Ubuntu
1518
1493
user-id : Ubuntu-20.04
1519
1494
match-pattern : ' *Ubuntu*20.04*'
1520
1495
default-absent-tool : dos2unix
1521
- distribution6 :
1496
+ distribution5 :
1522
1497
wsl-id : Ubuntu-18.04
1523
1498
user-id : Ubuntu-18.04
1524
1499
match-pattern : ' *Ubuntu*18.04*'
1525
1500
default-absent-tool : dos2unix
1526
- distribution7 :
1501
+ distribution6 :
1527
1502
wsl-id : Ubuntu-16.04
1528
1503
user-id : Ubuntu-16.04
1529
1504
match-pattern : ' *Ubuntu*16.04*'
@@ -1534,31 +1509,26 @@ jobs:
1534
1509
match-pattern : ' *Debian*'
1535
1510
default-absent-tool : dos2unix
1536
1511
distribution2 :
1537
- wsl-id : Alpine
1538
- user-id : Alpine
1539
- match-pattern : ' *Alpine*'
1540
- default-absent-tool : dos2unix
1541
- distribution3 :
1542
1512
wsl-id : kali-linux
1543
1513
user-id : kali-linux
1544
1514
match-pattern : ' *Kali*'
1545
1515
default-absent-tool : dos2unix
1546
- distribution4 :
1516
+ distribution3 :
1547
1517
wsl-id : openSUSE-Leap-15.2
1548
1518
user-id : openSUSE-Leap-15.2
1549
1519
match-pattern : ' *openSUSE*Leap*15.2*'
1550
1520
default-absent-tool : which
1551
- distribution5 :
1521
+ distribution4 :
1552
1522
wsl-id : Ubuntu
1553
1523
user-id : Ubuntu-22.04
1554
1524
match-pattern : ' *Ubuntu*22.04*'
1555
1525
default-absent-tool : dos2unix
1556
- distribution6 :
1526
+ distribution5 :
1557
1527
wsl-id : Ubuntu-18.04
1558
1528
user-id : Ubuntu-18.04
1559
1529
match-pattern : ' *Ubuntu*18.04*'
1560
1530
default-absent-tool : dos2unix
1561
- distribution7 :
1531
+ distribution6 :
1562
1532
wsl-id : Ubuntu-16.04
1563
1533
user-id : Ubuntu-16.04
1564
1534
match-pattern : ' *Ubuntu*16.04*'
@@ -1609,12 +1579,6 @@ jobs:
1609
1579
distribution : ${{ matrix.distributions.distribution6.user-id }}
1610
1580
set-as-default : false
1611
1581
- id : step-7
1612
- name : Execute action for ${{ matrix.distributions.distribution7.user-id }}
1613
- uses : ./
1614
- with :
1615
- distribution : ${{ matrix.distributions.distribution7.user-id }}
1616
- set-as-default : false
1617
- - id : step-8
1618
1582
name : Test - wsl-bash_${{ matrix.distributions.distribution1.user-id }} should use the correct distribution
1619
1583
shell : wsl-bash_Debian {0}
1620
1584
run : |-
@@ -1623,68 +1587,59 @@ jobs:
1623
1587
if : |-
1624
1588
always()
1625
1589
&& (steps.step-1.outcome == 'success')
1626
- - id : step-9
1590
+ - id : step-8
1627
1591
name : Test - wsl-bash_${{ matrix.distributions.distribution2.user-id }} should use the correct distribution
1628
- shell : wsl-bash_Alpine {0}
1592
+ shell : wsl-bash_kali-linux {0}
1629
1593
run : |-
1630
1594
cat <(lsb_release -a || true) <(uname -a || true) <([ -d /etc ] && find /etc -maxdepth 1 -type f \( -name '*release' -or -name 'issue*' \) -exec cat {} + || true) <([ -d /etc/products.d ] && find /etc/products.d -maxdepth 1 -type f -name '*.prod' -exec cat {} + || true) <([ -f /proc/version ] && cat /proc/version || true)
1631
1595
[[ "$(cat <(lsb_release -a || true) <(uname -a || true) <([ -d /etc ] && find /etc -maxdepth 1 -type f \( -name '*release' -or -name 'issue*' \) -exec cat {} + || true) <([ -d /etc/products.d ] && find /etc/products.d -maxdepth 1 -type f -name '*.prod' -exec cat {} + || true) <([ -f /proc/version ] && cat /proc/version || true))" == ${{ matrix.distributions.distribution2.match-pattern }} ]]
1632
1596
if : |-
1633
1597
always()
1634
1598
&& (steps.step-2.outcome == 'success')
1635
- - id : step-10
1599
+ - id : step-9
1636
1600
name : Test - wsl-bash_${{ matrix.distributions.distribution3.user-id }} should use the correct distribution
1637
- shell : wsl-bash_kali-linux {0}
1601
+ shell : wsl-bash_openSUSE-Leap-15.2 {0}
1638
1602
run : |-
1639
1603
cat <(lsb_release -a || true) <(uname -a || true) <([ -d /etc ] && find /etc -maxdepth 1 -type f \( -name '*release' -or -name 'issue*' \) -exec cat {} + || true) <([ -d /etc/products.d ] && find /etc/products.d -maxdepth 1 -type f -name '*.prod' -exec cat {} + || true) <([ -f /proc/version ] && cat /proc/version || true)
1640
1604
[[ "$(cat <(lsb_release -a || true) <(uname -a || true) <([ -d /etc ] && find /etc -maxdepth 1 -type f \( -name '*release' -or -name 'issue*' \) -exec cat {} + || true) <([ -d /etc/products.d ] && find /etc/products.d -maxdepth 1 -type f -name '*.prod' -exec cat {} + || true) <([ -f /proc/version ] && cat /proc/version || true))" == ${{ matrix.distributions.distribution3.match-pattern }} ]]
1641
1605
if : |-
1642
1606
always()
1643
1607
&& (steps.step-3.outcome == 'success')
1644
- - id : step-11
1608
+ - id : step-10
1645
1609
name : Test - wsl-bash_${{ matrix.distributions.distribution4.user-id }} should use the correct distribution
1646
- shell : wsl-bash_openSUSE-Leap-15.2 {0}
1610
+ shell : wsl-bash_Ubuntu-22.04 {0}
1647
1611
run : |-
1648
1612
cat <(lsb_release -a || true) <(uname -a || true) <([ -d /etc ] && find /etc -maxdepth 1 -type f \( -name '*release' -or -name 'issue*' \) -exec cat {} + || true) <([ -d /etc/products.d ] && find /etc/products.d -maxdepth 1 -type f -name '*.prod' -exec cat {} + || true) <([ -f /proc/version ] && cat /proc/version || true)
1649
1613
[[ "$(cat <(lsb_release -a || true) <(uname -a || true) <([ -d /etc ] && find /etc -maxdepth 1 -type f \( -name '*release' -or -name 'issue*' \) -exec cat {} + || true) <([ -d /etc/products.d ] && find /etc/products.d -maxdepth 1 -type f -name '*.prod' -exec cat {} + || true) <([ -f /proc/version ] && cat /proc/version || true))" == ${{ matrix.distributions.distribution4.match-pattern }} ]]
1650
1614
if : |-
1651
1615
always()
1652
1616
&& (steps.step-4.outcome == 'success')
1653
- - id : step-12
1654
- name : Test - wsl-bash_${{ matrix.distributions.distribution5.user-id }} should use the correct distribution
1655
- shell : wsl-bash_Ubuntu-22.04 {0}
1617
+ && (matrix.distributions.distribution4.user-id != 'Ubuntu-20.04')
1618
+ - id : step-11
1619
+ name : Test - wsl-bash_${{ matrix.distributions.distribution4.user-id }} should use the correct distribution
1620
+ shell : wsl-bash_Ubuntu-20.04 {0}
1656
1621
run : |-
1657
1622
cat <(lsb_release -a || true) <(uname -a || true) <([ -d /etc ] && find /etc -maxdepth 1 -type f \( -name '*release' -or -name 'issue*' \) -exec cat {} + || true) <([ -d /etc/products.d ] && find /etc/products.d -maxdepth 1 -type f -name '*.prod' -exec cat {} + || true) <([ -f /proc/version ] && cat /proc/version || true)
1658
- [[ "$(cat <(lsb_release -a || true) <(uname -a || true) <([ -d /etc ] && find /etc -maxdepth 1 -type f \( -name '*release' -or -name 'issue*' \) -exec cat {} + || true) <([ -d /etc/products.d ] && find /etc/products.d -maxdepth 1 -type f -name '*.prod' -exec cat {} + || true) <([ -f /proc/version ] && cat /proc/version || true))" == ${{ matrix.distributions.distribution5 .match-pattern }} ]]
1623
+ [[ "$(cat <(lsb_release -a || true) <(uname -a || true) <([ -d /etc ] && find /etc -maxdepth 1 -type f \( -name '*release' -or -name 'issue*' \) -exec cat {} + || true) <([ -d /etc/products.d ] && find /etc/products.d -maxdepth 1 -type f -name '*.prod' -exec cat {} + || true) <([ -f /proc/version ] && cat /proc/version || true))" == ${{ matrix.distributions.distribution4 .match-pattern }} ]]
1659
1624
if : |-
1660
1625
always()
1661
- && (steps.step-5 .outcome == 'success')
1662
- && (matrix.distributions.distribution5 .user-id != 'Ubuntu-20 .04')
1663
- - id : step-13
1626
+ && (steps.step-4 .outcome == 'success')
1627
+ && (matrix.distributions.distribution4 .user-id != 'Ubuntu-22 .04')
1628
+ - id : step-12
1664
1629
name : Test - wsl-bash_${{ matrix.distributions.distribution5.user-id }} should use the correct distribution
1665
- shell : wsl-bash_Ubuntu-20 .04 {0}
1630
+ shell : wsl-bash_Ubuntu-18 .04 {0}
1666
1631
run : |-
1667
1632
cat <(lsb_release -a || true) <(uname -a || true) <([ -d /etc ] && find /etc -maxdepth 1 -type f \( -name '*release' -or -name 'issue*' \) -exec cat {} + || true) <([ -d /etc/products.d ] && find /etc/products.d -maxdepth 1 -type f -name '*.prod' -exec cat {} + || true) <([ -f /proc/version ] && cat /proc/version || true)
1668
1633
[[ "$(cat <(lsb_release -a || true) <(uname -a || true) <([ -d /etc ] && find /etc -maxdepth 1 -type f \( -name '*release' -or -name 'issue*' \) -exec cat {} + || true) <([ -d /etc/products.d ] && find /etc/products.d -maxdepth 1 -type f -name '*.prod' -exec cat {} + || true) <([ -f /proc/version ] && cat /proc/version || true))" == ${{ matrix.distributions.distribution5.match-pattern }} ]]
1669
1634
if : |-
1670
1635
always()
1671
1636
&& (steps.step-5.outcome == 'success')
1672
- && (matrix.distributions.distribution5.user-id != 'Ubuntu-22.04')
1673
- - id : step-14
1637
+ - id : step-13
1674
1638
name : Test - wsl-bash_${{ matrix.distributions.distribution6.user-id }} should use the correct distribution
1675
- shell : wsl-bash_Ubuntu-18 .04 {0}
1639
+ shell : wsl-bash_Ubuntu-16 .04 {0}
1676
1640
run : |-
1677
1641
cat <(lsb_release -a || true) <(uname -a || true) <([ -d /etc ] && find /etc -maxdepth 1 -type f \( -name '*release' -or -name 'issue*' \) -exec cat {} + || true) <([ -d /etc/products.d ] && find /etc/products.d -maxdepth 1 -type f -name '*.prod' -exec cat {} + || true) <([ -f /proc/version ] && cat /proc/version || true)
1678
1642
[[ "$(cat <(lsb_release -a || true) <(uname -a || true) <([ -d /etc ] && find /etc -maxdepth 1 -type f \( -name '*release' -or -name 'issue*' \) -exec cat {} + || true) <([ -d /etc/products.d ] && find /etc/products.d -maxdepth 1 -type f -name '*.prod' -exec cat {} + || true) <([ -f /proc/version ] && cat /proc/version || true))" == ${{ matrix.distributions.distribution6.match-pattern }} ]]
1679
1643
if : |-
1680
1644
always()
1681
1645
&& (steps.step-6.outcome == 'success')
1682
- - id : step-15
1683
- name : Test - wsl-bash_${{ matrix.distributions.distribution7.user-id }} should use the correct distribution
1684
- shell : wsl-bash_Ubuntu-16.04 {0}
1685
- run : |-
1686
- cat <(lsb_release -a || true) <(uname -a || true) <([ -d /etc ] && find /etc -maxdepth 1 -type f \( -name '*release' -or -name 'issue*' \) -exec cat {} + || true) <([ -d /etc/products.d ] && find /etc/products.d -maxdepth 1 -type f -name '*.prod' -exec cat {} + || true) <([ -f /proc/version ] && cat /proc/version || true)
1687
- [[ "$(cat <(lsb_release -a || true) <(uname -a || true) <([ -d /etc ] && find /etc -maxdepth 1 -type f \( -name '*release' -or -name 'issue*' \) -exec cat {} + || true) <([ -d /etc/products.d ] && find /etc/products.d -maxdepth 1 -type f -name '*.prod' -exec cat {} + || true) <([ -f /proc/version ] && cat /proc/version || true))" == ${{ matrix.distributions.distribution7.match-pattern }} ]]
1688
- if : |-
1689
- always()
1690
- && (steps.step-7.outcome == 'success')
0 commit comments