Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
Fix actions release (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
macaron committed Feb 24, 2024
1 parent 3e47266 commit 8ce307f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,34 @@ jobs:
make -j$(nproc)
working-directory: openwrt

- name: Upload build result
uses: actions/upload-artifact@v4
with:
name: openwrt-ath79-generic-elecom_wab-i1750-ps
path: |
openwrt/bin/targets/ath79/generic/config.buildinfo
openwrt/bin/targets/ath79/generic/feeds.buildinfo
openwrt/bin/targets/ath79/generic/openwrt-ath79-generic-elecom_wab-i1750-ps-initramfs-kernel.bin
openwrt/bin/targets/ath79/generic/openwrt-ath79-generic-elecom_wab-i1750-ps-squashfs-factory.bin
openwrt/bin/targets/ath79/generic/openwrt-ath79-generic-elecom_wab-i1750-ps-squashfs-sysupgrade.bin
openwrt/bin/targets/ath79/generic/openwrt-ath79-generic-elecom_wab-i1750-ps.manifest
openwrt/bin/targets/ath79/generic/profiles.json
openwrt/bin/targets/ath79/generic/sha256sums
openwrt/bin/targets/ath79/generic/version.buildinfo
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
default_bump: "minor"

- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.tag_version.outputs.new_tag }}
body_path: openwrt/bin/targets/ath79/generic/sha256sums
prerelease: true
files: |
openwrt/bin/targets/ath79/generic/config.buildinfo
openwrt/bin/targets/ath79/generic/feeds.buildinfo
Expand Down

0 comments on commit 8ce307f

Please sign in to comment.