diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-01-02 15:55:35 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-01-02 15:55:35 -0500 |
commit | c590543c43fbc5f17a9125a050779ea19ed60166 (patch) | |
tree | e3924f18a8a2a3878fd5396d801ec875cba90449 /.github | |
parent | 52f5291f90c894ab0f774938f4c48ac18f913a2f (diff) | |
download | lite-xl-plugin-manager-c590543c43fbc5f17a9125a050779ea19ed60166.tar.gz lite-xl-plugin-manager-c590543c43fbc5f17a9125a050779ea19ed60166.zip |
Added in enironment stuff.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30aed10..0def4e9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,8 +7,9 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v3 - with: - fetch-depth: 0 + with: { fetch-depth: 0 } + - name: Set Environment Variables + run: echo VERSION=`git describe --tags | tail -c +2` >> $GITHUB_ENV && echo REV=$((`git describe --tags | sed 's/.*-\([0-9]*\)-.*/\1/' | sed s/^v.*//` + 1)) >> $GITHUB_ENV - name: Clone Submodules run: git submodule update --init --depth=1 && export VERSION=`git describe --tags | tail -c +2` && export REV=$((`git describe --tags | sed 's/.*-\([0-9]*\)-.*/\1/' | sed s/^v.*//` + 1)) - name: Build Linux @@ -47,8 +48,9 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v3 - with: - fetch-depth: 0 + with: { fetch-depth: 0 } + - name: Set Environment Variables + run: echo VERSION=`git describe --tags | tail -c +2` >> $GITHUB_ENV && echo REV=$((`git describe --tags | sed 's/.*-\([0-9]*\)-.*/\1/' | sed s/^v.*//` + 1)) >> $GITHUB_ENV - name: Clone Submodules run: git submodule update --init --depth=1 && export VERSION=`git describe --tags | tail -c +2` && export REV=$((`git describe --tags | sed 's/.*-\([0-9]*\)-.*/\1/' | sed s/^v.*//` + 1)) - name: Build MacOS |