|
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: | |
@@ -157,12 +147,7 @@ jobs: |
157 | 147 |
|
158 | 148 | - name: Upload binaries to release |
159 | 149 | if: endsWith(github.ref,'-main') |
160 | | - #uses: marvinpinto/action-automatic-releases@latest |
161 | | - #with: |
162 | | - # repo_token: "${{ secrets.GITHUB_TOKEN }}" |
163 | | - # automatic_release_tag: "CI-BUILD-${{ env.BRANCH }}-${{ env.KERNELVER }}-${{ env.DT }}" |
164 | | - # prerelease: false |
165 | | - # title: "Build for branch ${{ env.BRANCH }} (${{ env.KERNELVER }})" |
| 150 | + |
166 | 151 | uses: softprops/action-gh-release@v1 |
167 | 152 | with: |
168 | 153 | token: ${{ secrets.GITHUB_TOKEN }} |
|
0 commit comments