From 3ab367b165527997b24f7c2d568ea7eea826bcfa Mon Sep 17 00:00:00 2001 From: Isaac <76838845+isaxk@users.noreply.github.com> Date: Wed, 21 Aug 2024 22:03:41 +0100 Subject: [PATCH] v1.0.1 --- .github/workflows/build.yml | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..2ba5d5f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,38 @@ +name: Build/release + +on: + push: + tags: + '*' + +jobs: + release: + runs-on: macos-latest + + steps: + - name: Check out Git repository + uses: actions/checkout@v1 + + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v1 + with: + node-version: 20.12.2 + + + - name: Install Dependencies + run: npm install + + - name: Build electron + run: npm run build && npm run pack:win && npm run pack:mac + + - name: Build electron + run: ls dist + + - name: Release with Notes + uses: softprops/action-gh-release@v1 + with: + files: | + dist/ytdesk-universal-${{ github.ref_name }}.dmg + dist/ytdesk-x64-${{ github.ref_name }}-setup.exe + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file