@@ -348,6 +348,10 @@ jobs:
348
348
user-id : ' openSUSE-Leap-15.2'
349
349
match-pattern : ' *openSUSE*Leap*15.2*'
350
350
default-absent-tool : ' which'
351
+ - wsl-id : ' Ubuntu-24.04'
352
+ user-id : ' Ubuntu-24.04'
353
+ match-pattern : ' *Ubuntu*24.04*'
354
+ default-absent-tool : ' dos2unix'
351
355
- wsl-id : ' Ubuntu'
352
356
user-id : ' Ubuntu-22.04'
353
357
match-pattern : ' *Ubuntu*22.04*'
@@ -840,6 +844,10 @@ jobs:
840
844
user-id : ' openSUSE-Leap-15.2'
841
845
match-pattern : ' *openSUSE*Leap*15.2*'
842
846
default-absent-tool : ' which'
847
+ - wsl-id : ' Ubuntu-24.04'
848
+ user-id : ' Ubuntu-24.04'
849
+ match-pattern : ' *Ubuntu*24.04*'
850
+ default-absent-tool : ' dos2unix'
843
851
- wsl-id : ' Ubuntu'
844
852
user-id : ' Ubuntu-22.04'
845
853
match-pattern : ' *Ubuntu*22.04*'
@@ -940,6 +948,10 @@ jobs:
940
948
user-id : ' openSUSE-Leap-15.2'
941
949
match-pattern : ' *openSUSE*Leap*15.2*'
942
950
default-absent-tool : ' which'
951
+ - wsl-id : ' Ubuntu-24.04'
952
+ user-id : ' Ubuntu-24.04'
953
+ match-pattern : ' *Ubuntu*24.04*'
954
+ default-absent-tool : ' dos2unix'
943
955
- wsl-id : ' Ubuntu'
944
956
user-id : ' Ubuntu-22.04'
945
957
match-pattern : ' *Ubuntu*22.04*'
@@ -996,6 +1008,7 @@ jobs:
996
1008
if : |-
997
1009
always()
998
1010
&& (steps.step-1.outcome == 'success')
1011
+ && (matrix.distribution.user-id != 'Ubuntu-24.04')
999
1012
- id : ' step-5'
1000
1013
name : ' Test - C: should be mounted at /mnt/c'
1001
1014
shell : ' wsl-bash {0}'
@@ -1073,6 +1086,10 @@ jobs:
1073
1086
user-id : ' openSUSE-Leap-15.2'
1074
1087
match-pattern : ' *openSUSE*Leap*15.2*'
1075
1088
default-absent-tool : ' which'
1089
+ - wsl-id : ' Ubuntu-24.04'
1090
+ user-id : ' Ubuntu-24.04'
1091
+ match-pattern : ' *Ubuntu*24.04*'
1092
+ default-absent-tool : ' dos2unix'
1076
1093
- wsl-id : ' Ubuntu'
1077
1094
user-id : ' Ubuntu-22.04'
1078
1095
match-pattern : ' *Ubuntu*22.04*'
@@ -1302,6 +1319,10 @@ jobs:
1302
1319
user-id : ' openSUSE-Leap-15.2'
1303
1320
match-pattern : ' *openSUSE*Leap*15.2*'
1304
1321
default-absent-tool : ' which'
1322
+ - wsl-id : ' Ubuntu-24.04'
1323
+ user-id : ' Ubuntu-24.04'
1324
+ match-pattern : ' *Ubuntu*24.04*'
1325
+ default-absent-tool : ' dos2unix'
1305
1326
- wsl-id : ' Ubuntu'
1306
1327
user-id : ' Ubuntu-22.04'
1307
1328
match-pattern : ' *Ubuntu*22.04*'
@@ -1514,16 +1535,21 @@ jobs:
1514
1535
match-pattern : ' *openSUSE*Leap*15.2*'
1515
1536
default-absent-tool : ' which'
1516
1537
distribution5 :
1538
+ wsl-id : ' Ubuntu-24.04'
1539
+ user-id : ' Ubuntu-24.04'
1540
+ match-pattern : ' *Ubuntu*24.04*'
1541
+ default-absent-tool : ' dos2unix'
1542
+ distribution6 :
1517
1543
wsl-id : ' Ubuntu'
1518
1544
user-id : ' Ubuntu-20.04'
1519
1545
match-pattern : ' *Ubuntu*20.04*'
1520
1546
default-absent-tool : ' dos2unix'
1521
- distribution6 :
1547
+ distribution7 :
1522
1548
wsl-id : ' Ubuntu-18.04'
1523
1549
user-id : ' Ubuntu-18.04'
1524
1550
match-pattern : ' *Ubuntu*18.04*'
1525
1551
default-absent-tool : ' dos2unix'
1526
- distribution7 :
1552
+ distribution8 :
1527
1553
wsl-id : ' Ubuntu-16.04'
1528
1554
user-id : ' Ubuntu-16.04'
1529
1555
match-pattern : ' *Ubuntu*16.04*'
@@ -1549,16 +1575,21 @@ jobs:
1549
1575
match-pattern : ' *openSUSE*Leap*15.2*'
1550
1576
default-absent-tool : ' which'
1551
1577
distribution5 :
1578
+ wsl-id : ' Ubuntu-24.04'
1579
+ user-id : ' Ubuntu-24.04'
1580
+ match-pattern : ' *Ubuntu*24.04*'
1581
+ default-absent-tool : ' dos2unix'
1582
+ distribution6 :
1552
1583
wsl-id : ' Ubuntu'
1553
1584
user-id : ' Ubuntu-22.04'
1554
1585
match-pattern : ' *Ubuntu*22.04*'
1555
1586
default-absent-tool : ' dos2unix'
1556
- distribution6 :
1587
+ distribution7 :
1557
1588
wsl-id : ' Ubuntu-18.04'
1558
1589
user-id : ' Ubuntu-18.04'
1559
1590
match-pattern : ' *Ubuntu*18.04*'
1560
1591
default-absent-tool : ' dos2unix'
1561
- distribution7 :
1592
+ distribution8 :
1562
1593
wsl-id : ' Ubuntu-16.04'
1563
1594
user-id : ' Ubuntu-16.04'
1564
1595
match-pattern : ' *Ubuntu*16.04*'
@@ -1615,6 +1646,12 @@ jobs:
1615
1646
distribution : ' ${{ matrix.distributions.distribution7.user-id }}'
1616
1647
set-as-default : ' false'
1617
1648
- id : ' step-8'
1649
+ name : ' Execute action for ${{ matrix.distributions.distribution8.user-id }}'
1650
+ uses : ' ./'
1651
+ with :
1652
+ distribution : ' ${{ matrix.distributions.distribution8.user-id }}'
1653
+ set-as-default : ' false'
1654
+ - id : ' step-9'
1618
1655
name : ' Test - wsl-bash_${{ matrix.distributions.distribution1.user-id }} should use the correct distribution'
1619
1656
shell : ' wsl-bash_Debian {0}'
1620
1657
run : |-
@@ -1623,7 +1660,7 @@ jobs:
1623
1660
if : |-
1624
1661
always()
1625
1662
&& (steps.step-1.outcome == 'success')
1626
- - id : ' step-9 '
1663
+ - id : ' step-10 '
1627
1664
name : ' Test - wsl-bash_${{ matrix.distributions.distribution2.user-id }} should use the correct distribution'
1628
1665
shell : ' wsl-bash_Alpine {0}'
1629
1666
run : |-
@@ -1632,7 +1669,7 @@ jobs:
1632
1669
if : |-
1633
1670
always()
1634
1671
&& (steps.step-2.outcome == 'success')
1635
- - id : ' step-10 '
1672
+ - id : ' step-11 '
1636
1673
name : ' Test - wsl-bash_${{ matrix.distributions.distribution3.user-id }} should use the correct distribution'
1637
1674
shell : ' wsl-bash_kali-linux {0}'
1638
1675
run : |-
@@ -1641,7 +1678,7 @@ jobs:
1641
1678
if : |-
1642
1679
always()
1643
1680
&& (steps.step-3.outcome == 'success')
1644
- - id : ' step-11 '
1681
+ - id : ' step-12 '
1645
1682
name : ' Test - wsl-bash_${{ matrix.distributions.distribution4.user-id }} should use the correct distribution'
1646
1683
shell : ' wsl-bash_openSUSE-Leap-15.2 {0}'
1647
1684
run : |-
@@ -1650,41 +1687,50 @@ jobs:
1650
1687
if : |-
1651
1688
always()
1652
1689
&& (steps.step-4.outcome == 'success')
1653
- - id : ' step-12 '
1690
+ - id : ' step-13 '
1654
1691
name : ' Test - wsl-bash_${{ matrix.distributions.distribution5.user-id }} should use the correct distribution'
1655
- shell : ' wsl-bash_Ubuntu-22 .04 {0}'
1692
+ shell : ' wsl-bash_Ubuntu-24 .04 {0}'
1656
1693
run : |-
1657
1694
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
1695
[[ "$(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 }} ]]
1659
1696
if : |-
1660
1697
always()
1661
1698
&& (steps.step-5.outcome == 'success')
1662
- && (matrix.distributions.distribution5.user-id != 'Ubuntu-20.04')
1663
- - id : ' step-13'
1664
- name : ' Test - wsl-bash_${{ matrix.distributions.distribution5.user-id }} should use the correct distribution'
1665
- shell : ' wsl-bash_Ubuntu-20.04 {0}'
1699
+ - id : ' step-14'
1700
+ name : ' Test - wsl-bash_${{ matrix.distributions.distribution6.user-id }} should use the correct distribution'
1701
+ shell : ' wsl-bash_Ubuntu-22.04 {0}'
1666
1702
run : |-
1667
1703
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
- [[ "$(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 }} ]]
1704
+ [[ "$(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 }} ]]
1669
1705
if : |-
1670
1706
always()
1671
- && (steps.step-5 .outcome == 'success')
1672
- && (matrix.distributions.distribution5 .user-id != 'Ubuntu-22 .04')
1673
- - id : ' step-14 '
1707
+ && (steps.step-6 .outcome == 'success')
1708
+ && (matrix.distributions.distribution6 .user-id != 'Ubuntu-20 .04')
1709
+ - id : ' step-15 '
1674
1710
name : ' Test - wsl-bash_${{ matrix.distributions.distribution6.user-id }} should use the correct distribution'
1675
- shell : ' wsl-bash_Ubuntu-18 .04 {0}'
1711
+ shell : ' wsl-bash_Ubuntu-20 .04 {0}'
1676
1712
run : |-
1677
1713
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
1714
[[ "$(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
1715
if : |-
1680
1716
always()
1681
1717
&& (steps.step-6.outcome == 'success')
1682
- - id : ' step-15'
1718
+ && (matrix.distributions.distribution6.user-id != 'Ubuntu-22.04')
1719
+ - id : ' step-16'
1683
1720
name : ' Test - wsl-bash_${{ matrix.distributions.distribution7.user-id }} should use the correct distribution'
1684
- shell : ' wsl-bash_Ubuntu-16 .04 {0}'
1721
+ shell : ' wsl-bash_Ubuntu-18 .04 {0}'
1685
1722
run : |-
1686
1723
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
1724
[[ "$(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
1725
if : |-
1689
1726
always()
1690
1727
&& (steps.step-7.outcome == 'success')
1728
+ - id : ' step-17'
1729
+ name : ' Test - wsl-bash_${{ matrix.distributions.distribution8.user-id }} should use the correct distribution'
1730
+ shell : ' wsl-bash_Ubuntu-16.04 {0}'
1731
+ run : |-
1732
+ 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)
1733
+ [[ "$(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.distribution8.match-pattern }} ]]
1734
+ if : |-
1735
+ always()
1736
+ && (steps.step-8.outcome == 'success')
0 commit comments