Skip to content

Commit 5a1b1a5

Browse files
fix(workflow): output file names and packer event trigger condition
1 parent fee62af commit 5a1b1a5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/binary-publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ jobs:
117117
mkdir -p out
118118
# Zip without the leading arc-noss/ so the archive has build/ and go/ at root
119119
pushd arc-noss >/dev/null
120-
zip -r "../out/rs-linux-${mode}.zip" build go >/dev/null
120+
zip -r "../out/arc-linux-${mode}.zip" build go >/dev/null
121121
popd >/dev/null
122-
echo "Packaged out/rs-linux-${mode}.zip (root: build/, go/)"
122+
echo "Packaged out/arc-linux-${mode}.zip (root: build/, go/)"
123123
124124
# ----- Upload to GitHub release (by tag) -----
125125
owner="appbaseio"
@@ -136,7 +136,7 @@ jobs:
136136
echo "Could not parse release id for tag ${tag}"; exit 1
137137
fi
138138
139-
asset_path="out/rs-linux-${mode}.zip"
139+
asset_path="out/arc-linux-${mode}.zip"
140140
asset_name="$(basename "${asset_path}")"
141141
upload_url="https://uploads.github.com/repos/${owner}/${repo}/releases/${release_id}/assets?name=${asset_name}"
142142
@@ -218,7 +218,8 @@ jobs:
218218
needs: build-arc
219219
uses: ./.github/workflows/build_images.yml
220220
with:
221-
ref: ${{ github.ref }}
221+
# Pass a tag-style ref so the called workflow's regex gate passes on manual runs
222+
ref: "refs/tags/${{ needs.determine_whether_to_run.outputs.version }}"
222223
event_name: new_release
223224
secrets:
224225
token: ${{ secrets.REPO_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)