Skip to content

Commit

Permalink
CI: change tag because release was not uploaded
Browse files Browse the repository at this point in the history
  • Loading branch information
frank-w authored Jan 22, 2021
1 parent ee7405e commit ba4c9ba
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2


- name: Setup env
run: |
echo "DT=$(date +'%Y-%m-%d_%H%M')" >> $GITHUB_ENV
echo "VER=$(git describe)" >> $GITHUB_ENV
echo "BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Print env
run: |
echo $BRANCH $VER $DT
- name: Setup cache
id: cache
uses: actions/cache@v2
Expand Down Expand Up @@ -52,7 +62,7 @@ jobs:
# It is recommended to create the access token with the following scopes: `repo, user, admin:repo_hook`.
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: rootfs*.cpio.gz
tag: ${{ github.ref }}
tag: "CI-BUILD-${{ env.BRANCH }}-${{ env.VER }}-${{ env.DT }}"
overwrite: true
body: "release for bpi-r2 + bpi-r64"
file_glob: true

0 comments on commit ba4c9ba

Please sign in to comment.