File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 if : github.event_name == 'push' || github.event_name == 'workflow_dispatch'
1717 env :
1818 REPO_APK_KEY : ${{ secrets.REPO_APK_KEY }}
19+ PKG_NAME : ${{ github.event.repository.name }}
1920
2021 strategy :
2122 fail-fast : false
@@ -112,9 +113,6 @@ jobs:
112113 - name : 🧾 Checkout repo
113114 uses : actions/checkout@v5
114115
115- - name : 📛 Set PKG_NAME from repo
116- run : echo "PKG_NAME=${{ github.event.repository.name }}" >> "$GITHUB_ENV"
117-
118116 - name : 🧰 Set up melmac feed structure
119117 run : |
120118 # Create a proper OpenWrt feed layout where each package lives in its own subdir
@@ -154,11 +152,7 @@ jobs:
154152 for ext in ipk apk; do
155153 for f in $(find bin/packages -type f -path "*/melmac/*.${ext}"); do
156154 dir=$(dirname "$f")
157- if [ -n "${{ matrix.suffix }}" ]; then
158- mv -v "$f" "$dir/${PKG_NAME}-${PKG_VERSION}-${PKG_RELEASE}_${{ matrix.version }}_${{ matrix.suffix }}.${ext}"
159- else
160155 mv -v "$f" "$dir/${PKG_NAME}-${PKG_VERSION}-${PKG_RELEASE}_${{ matrix.version }}_${{ matrix.target }}.${ext}"
161- fi
162156 done
163157 done
164158
You can’t perform that action at this time.
0 commit comments