Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
More CI tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
pierr3 committed Jan 17, 2024
1 parent 3713533 commit 04d2e12
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ concurrency:

env:
BUILD_TYPE: Release
VECTOR_SECRET: Dev

jobs:
build-linux:
Expand All @@ -30,7 +29,7 @@ jobs:
if: github.event.release.prerelease == true
run: |
echo "RELEASE_VERSION=v`cat VERSION_BETA`" >> $GITHUB_ENV
echo `cat VERSION_BETA` > VERSION
cat VERSION_BETA > VERSION
- name: Install SFML dependencies
run: |
sudo apt-get update
Expand Down Expand Up @@ -72,8 +71,9 @@ jobs:
- name: Set env (pre-release)
if: github.event.release.prerelease == true
run: |
echo "RELEASE_VERSION=v`cat VERSION_BETA`" >> $GITHUB_ENV
echo `cat VERSION_BETA` > VERSION
$ver = Get-Content .\VERSION_BETA -Raw
echo "RELEASE_VERSION=v$ver" >> $GITHUB_ENV
type VERSION_BETA > VERSION
- name: Configure cmake
run: |
cmake -S . -B build/ -DVCPKG_BUILD_TYPE=release -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
if: github.event.release.prerelease == true
run: |
echo "RELEASE_VERSION=v`cat VERSION_BETA`" >> $GITHUB_ENV
echo `cat VERSION_BETA` > VERSION
cat VERSION_BETA > VERSION
- name: Install native dependencies
run: |
brew install pkg-config
Expand Down

0 comments on commit 04d2e12

Please sign in to comment.