Skip to content

Commit

Permalink
update: workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
dev committed Oct 3, 2024
1 parent 1b92e11 commit 6d7af42
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/Build-padavan-4.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,22 @@ jobs:
sudo apt update
sudo apt install libtool-bin gperf python3-docutils autopoint gettext
- name: Initialization Values
run: |
export build_date=$(TZ=UTC-8 date +"%y.%m.%d")
export release_version="padavan-4.4"
echo "build_date=$build_date" >> $GITHUB_ENV
echo "release_version=$release_version" >> $GITHUB_ENV
- name: Run shellcheck
run: sh ./trunk/tools/shellcheck.sh

- name: Prepare toolchain
run: |
cd toolchain-mipsel
sh dl_toolchain.sh
# sh dl_toolchain_vendor.sh
- name: Start build
run: |
Expand All @@ -89,7 +98,7 @@ jobs:
- name: Upload images to Releases
uses: softprops/action-gh-release@master
with:
tag_name: ${{ github.ref }}
tag_name: ${{env.release_version}}_${{env.build_date}}
files: ${{ env.images_dir }}/*.trx
body: |
padavan-4.4固件
Expand Down

0 comments on commit 6d7af42

Please sign in to comment.