File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,10 @@ jobs:
3030 - name : Setup env
3131 run : |
3232 echo "DT=$(date +'%Y-%m-%d_%H%M')" >> $GITHUB_ENV
33- echo "VER=$(git describe)_armhf" >> $GITHUB_ENV
3433 echo "BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV
3534 - name : Print env
3635 run : |
37- echo $BRANCH $VER $ DT
36+ echo $BRANCH $DT
3837
3938 - name : build for armhf (bpi-r2)
4039 run : |
4948 # It is recommended to create the access token with the following scopes: `repo, user, admin:repo_hook`.
5049 repo_token : ${{ secrets.GITHUB_TOKEN }}
5150 file : rootfs*.cpio.*
52- tag : " CI-BUILD-${{ env.BRANCH }}-${{ env.VER }} -${{ env.DT }}"
51+ tag : " CI-BUILD-${{ env.BRANCH }}-armhf -${{ env.DT }}"
5352 overwrite : true
5453 body : " release for armhf"
5554 file_glob : true
@@ -68,11 +67,10 @@ jobs:
6867 - name : Setup env
6968 run : |
7069 echo "DT=$(date +'%Y-%m-%d_%H%M')" >> $GITHUB_ENV
71- echo "VER=$(git describe)_arm64" >> $GITHUB_ENV
7270 echo "BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV
7371 - name : Print env
7472 run : |
75- echo $BRANCH $VER $ DT
73+ echo $BRANCH $DT
7674
7775 - name : build for aarch64 (bpi-r64/bpi-r3/bpi-r4)
7876 run : |
8987 # It is recommended to create the access token with the following scopes: `repo, user, admin:repo_hook`.
9088 repo_token : ${{ secrets.GITHUB_TOKEN }}
9189 file : rootfs*.cpio.*
92- tag : " CI-BUILD-${{ env.BRANCH }}-${{ env.VER }} -${{ env.DT }}"
90+ tag : " CI-BUILD-${{ env.BRANCH }}-arm64 -${{ env.DT }}"
9391 overwrite : true
9492 body : " release for arm64 (bpi-r64/r2pro/r3/r4)"
9593 file_glob : true
You can’t perform that action at this time.
0 commit comments