Skip to content

Commit

Permalink
Update build-openwrt-x86.yml
Browse files Browse the repository at this point in the history
Update actions' versions.
  • Loading branch information
keniji authored Jul 6, 2024
1 parent bfe8b6c commit bf79ab1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-openwrt-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4


- name: Initialization environment
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
run: df -hT

- name: Upload bin directory
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true'
with:
name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }}
Expand All @@ -134,7 +134,7 @@ jobs:
echo "status=success" >> $GITHUB_OUTPUT
- name: Upload firmware directory
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: steps.organize.outputs.status == 'success' && !cancelled()
with:
name: OpenWrt_firmware${{ env.DEVICE_NAME }}${{ env.FILE_DATE }}
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
echo "status=success" >> $GITHUB_OUTPUT
- name: Upload firmware to release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: steps.tag.outputs.status == 'success' && !cancelled()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -185,7 +185,7 @@ jobs:
keep_minimum_runs: 3

- name: Remove old Releases
uses: dev-drprasad/delete-older-releases@v0.2.1
uses: dev-drprasad/delete-older-releases@v0.3.4
if: env.UPLOAD_RELEASE == 'true' && !cancelled()
with:
keep_latest: 3
Expand Down

0 comments on commit bf79ab1

Please sign in to comment.