|
25 | 25 | permissions: |
26 | 26 | contents: write # for softprops/action-gh-release to create GitHub release |
27 | 27 | # The type of runner that the job will run on |
28 | | - #runs-on: ubuntu-latest |
29 | 28 | runs-on: ubuntu-24.04 |
30 | 29 |
|
31 | 30 | # Steps represent a sequence of tasks that will be executed as part of the job |
|
48 | 47 | echo $BRANCH $KERNELVER $DT |
49 | 48 | echo $UBUNTU_MAJOR_VERSION |
50 | 49 |
|
51 | | - - name: update apt-repos (u22) |
52 | | - if: env.UBUNTU_MAJOR_VERSION == '22' |
53 | | - run: | |
54 | | - cat /etc/apt/sources.list |
55 | | - sudo sed -i.bak -e 's/^deb/deb [ arch=amd64,i386 ]/' /etc/apt/sources.list |
56 | | - #deb [arch=amd64,i386] http://archive.ubuntu.com/ubuntu/ jammy main universe |
57 | | - echo "deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports jammy main universe" | sudo tee -a /etc/apt/sources.list |
58 | | -
|
59 | | -
|
60 | 50 | - name: update apt-repos (u24) |
61 | 51 | if: env.UBUNTU_MAJOR_VERSION == '24' |
62 | 52 | run: | |
@@ -142,12 +132,7 @@ jobs: |
142 | 132 |
|
143 | 133 | - name: Upload binaries to release |
144 | 134 | if: endsWith(github.ref,'-main') |
145 | | - #uses: marvinpinto/action-automatic-releases@latest |
146 | | - #with: |
147 | | - # repo_token: "${{ secrets.GITHUB_TOKEN }}" |
148 | | - # automatic_release_tag: "CI-BUILD-${{ env.BRANCH }}-${{ env.KERNELVER }}-${{ env.DT }}" |
149 | | - # prerelease: false |
150 | | - # title: "Build for branch ${{ env.BRANCH }} (${{ env.KERNELVER }})" |
| 135 | + |
151 | 136 | uses: softprops/action-gh-release@v1 |
152 | 137 | with: |
153 | 138 | token: ${{ secrets.GITHUB_TOKEN }} |
|
0 commit comments