From 3b5ef37ca425a53d9b3fe802680b50542fce4c30 Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Wed, 22 Jun 2022 16:54:58 -0700 Subject: [PATCH] Fix macOS artifact --- appveyor.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index e1ace8c..962d3e5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,9 +4,12 @@ image: - Ubuntu skip_branch_with_pr: true - stack: python 3.10 +environment: + GITHUB_TOKEN: + secure: Ti46nPnZgFh0nRteU6ma0EhJnCTW7PaMn9hnnewZl4gBFPyRQnXNCwGog02+MRLX + install: - pip install -r requirements.txt @@ -15,6 +18,12 @@ build_script: test: off +deploy: + provider: GitHub + auth_token: $(GITHUB_TOKEN) + on: + APPVEYOR_REPO_TAG: true + for: - matrix: @@ -33,7 +42,7 @@ for: - image: macOS after_build: - - tar -czvf counter-linux.tar.gz -C dist counter.app + - tar -czvf counter-macos.tar.gz -C dist counter.app artifacts: - path: counter-macos.tar.gz @@ -47,4 +56,5 @@ for: - tar -czvf counter-linux.tar.gz -C dist counter artifacts: - - path: counter-linux.tar.gz \ No newline at end of file + - path: counter-linux.tar.gz +