From 98ea33c49b0a98b36b8f689c73ddc447175d5c40 Mon Sep 17 00:00:00 2001 From: nyfair Date: Tue, 8 Dec 2020 00:50:19 +0800 Subject: [PATCH] action --- .github/workflows/build.yml | 20 ++++++++++++++++++++ appveyor.yml | 20 -------------------- 2 files changed, 20 insertions(+), 20 deletions(-) create mode 100644 .github/workflows/build.yml delete mode 100644 appveyor.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..46da26d --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,20 @@ +name: build + +on: + push: + workflow_dispatch: + +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - name: Compress + run: 7z a thxml.7z thxml/ + - name: Upload + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: thxml.7z + tag: latest + overwrite: true diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 63c8421..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,20 +0,0 @@ -image: Visual Studio 2017 - -before_deploy: - - 7z a thxml.7z thxml/ - - appveyor PushArtifact thxml.7z - -deploy: - artifact: /.*\.7z/ - auth_token: - secure: J1DFsRUBaJKZ2HqHKOQEA427FUsKo6rDTxtxyUwARP7k0Ac5SgX1qn77+LYXdwk6 - description: '' - on: - appveyor_repo_tag: true - provider: GitHub - -branches: - only: - - latest - -build: false \ No newline at end of file