Skip to content

Commit

Permalink
fix: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmuente committed Sep 17, 2021
1 parent 7b72d13 commit a7530a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: ${{ matrix.archive }}
run: chmod +x ci/entrypoint.sh ci/build.sh && ./ci/entrypoint.sh
run: chmod +x ci/github-actions/entrypoint.sh ci/build.sh && ./ci/github-actions/entrypoint.sh

release-aur:
needs: release
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions ci/entrypoint.sh → ci/github-actions/entrypoint.sh
Expand Up @@ -14,7 +14,7 @@ OUTPUT_DIR="output"
mkdir -p "$OUTPUT_DIR"


if ! FILE_LIST=$(ci/build.sh "$OUTPUT_DIR"); then
if ! FILE_LIST=$(ci/github-actions/build.sh "$OUTPUT_DIR"); then
echo "::error file=entrypoint.sh::Build failed" >&2
exit 1
fi
Expand All @@ -30,7 +30,7 @@ UPLOAD_URL=${UPLOAD_URL/\{?name,label\}/}
RELEASE_NAME=$(echo "$EVENT_DATA" | jq -r .release.tag_name)
PROJECT_NAME=$(basename "$GITHUB_REPOSITORY")
NAME="${NAME:-${PROJECT_NAME}_${RELEASE_NAME}}_${RUSTTARGET}"
ARCHIVE_TYPES="${ARCHIVE_TYPES:-"zip"}"
ARCHIVE_TYPES="${ARCHIVE_TYPES:-"tar.xz"}"
EXTRA_FILES="${EXTRA_FILES:-""}"

if [ -z "${EXTRA_FILES+x}" ]; then
Expand Down

0 comments on commit a7530a5

Please sign in to comment.