File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed
Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -15,24 +15,20 @@ jobs:
1515 run : dnf install -y git tito
1616
1717 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
18- - uses : actions/checkout@v3
18+ - uses : actions/checkout@v6
1919 with :
2020 fetch-depth : 0
2121
2222 - name : Install build dependencies
2323 run : dnf builddep -y $GITHUB_WORKSPACE/freeipa-mailserver.spec
2424
2525 - name : Build rpm
26- run : |
27- # Fix for: https://github.com/actions/checkout/issues/766 (git CVE-2022-24765)
28- git config --global --add safe.directory "$GITHUB_WORKSPACE"
29- cd $GITHUB_WORKSPACE
30- tito build --offline --rpm -o .
26+ run : tito build --offline --rpm -o .
3127
3228 - name : Test installation of built rpm
3329 run : dnf install -y noarch/*.rpm
3430
35- - uses : actions/upload-artifact@v2
31+ - uses : actions/upload-artifact@v6
3632 with :
3733 name : rpms
3834 path : ${{ github.workspace }}/noarch/*.rpm
Original file line number Diff line number Diff line change @@ -19,22 +19,18 @@ jobs:
1919 run : dnf install -y git tito
2020
2121 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
22- - uses : actions/checkout@v3
22+ - uses : actions/checkout@v6
2323
2424 - name : Install build dependencies
2525 run : dnf builddep -y $GITHUB_WORKSPACE/freeipa-mailserver.spec
2626
2727 - name : Build rpm
28- run : |
29- # Fix for: https://github.com/actions/checkout/issues/766 (git CVE-2022-24765)
30- git config --global --add safe.directory "$GITHUB_WORKSPACE"
31- cd $GITHUB_WORKSPACE
32- tito build --test --rpm -o .
28+ run : tito build --test --rpm -o .
3329
3430 - name : Test installation of built rpm
3531 run : dnf install -y noarch/*.rpm
3632
37- - uses : actions/upload-artifact@v2
33+ - uses : actions/upload-artifact@v6
3834 with :
3935 name : rpms
4036 path : ${{ github.workspace }}/noarch/*.rpm
You can’t perform that action at this time.
0 commit comments