From b4f02fddfed83df1bfed6800e9b2ede621958b1a Mon Sep 17 00:00:00 2001 From: Core <64542347+coredev-uk@users.noreply.github.com> Date: Wed, 3 Aug 2022 17:12:17 +0100 Subject: [PATCH] Testing --- .github/workflows/build-macos.yml | 62 +++++-------------------------- resources/version.sh | 1 + 2 files changed, 11 insertions(+), 52 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 4b60942f..c355d6f2 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -1,14 +1,3 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# name: "macOS build" on: @@ -36,9 +25,6 @@ jobs: fail-fast: false matrix: language: [ 'javascript' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] - # Learn more: - # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed steps: - uses: maxim-lobanov/setup-xcode@v1 @@ -52,29 +38,6 @@ jobs: - name: Change Version run: sudo chmod +x resources/version.sh && ./resources/version.sh || true - # Initializes the CodeQL tools for scanning. - # - name: Initialize CodeQL - # uses: github/codeql-action/init@v1 - # with: - # languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - # queries: ./path/to/local/query, your-org/your-repo/queries@main - - # â„šī¸ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl - - # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language - - # - name : env - # run: | - # export EVS_ACCOUNT_NAME=${{ secrets.EVS_ACCOUNT_NAME}} && export EVS_PASSWD=${{ secrets.EVS_PASSWD }} - # export CSC_LINK=${{ secrets.CSC_LINK }} && export CSC_KEY_PASSWORD=${{ secrets.CSC_KEY_PASSWORD }} - # export APPLEID=${{ secrets.APPLEID }} && export APPLEIDPASS=${{ secrets.APPLEIDPASS }} - - name: Sign in to EVS run: | python3 -m pip install --upgrade castlabs-evs @@ -102,8 +65,6 @@ jobs: rm -r /node_modules/leveldown/node_modules/node-gyp-build || true yarn dist:universalNotWorking -p never ls - # - name: Perform CodeQL Analysis - # uses: github/codeql-action/analyze@v1 - name: Add license to dmg run: | @@ -140,16 +101,13 @@ jobs: dist/*.pkg # The desired behavior if no files are found using the provided path. -# - name: Release -# uses: softprops/action-gh-release@v1 -# with: -# files: | -# dist/Cider.dmg -# dist/Cider.pkg -# body: signed Develop MacOS Builds -# name: macOS builds -# tag_name: macos-beta -# target_commitish: ${{ env.GITHUB_SHA }} -# prerelease: true -# generate_release_notes: true -# fail_on_unmatched_files: false +# - name: Upload Artifacts to Latest Release +# uses: softprops/action-gh-release@v1 +# with: +# token: ${{ secrets.CUSTOM_GITHUB_TOKEN }} +# files: | +# dist/*.dmg +# dist/*.pkg +# tag_name: $APP_VERSION +# env: +# GITHUB_REPOSITORY: ciderapp/cider-releases \ No newline at end of file diff --git a/resources/version.sh b/resources/version.sh index 054a7f78..cdb382fe 100755 --- a/resources/version.sh +++ b/resources/version.sh @@ -34,3 +34,4 @@ elif [[ -z "${BASH_ENV}" ]]; then fi node -p -e "require('./package.json').version" +printenv \ No newline at end of file