Skip to content

Commit

Permalink
Use original Env setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
tzununbekov committed Feb 16, 2024
1 parent c33a724 commit d466279
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,17 @@ on:
# for debug purposes only
branches: [ci-migration]

# env:
# RELEASE_BUILD: ${{ contains(github.ref, 'refs/tags/v') && 'true' || 'false' }}
# SNAPSHOT_BUILD: ${{ github.ref == 'refs/heads/master' && 'true' || 'false' }}
# RC_BUILD: ${{ github.ref_type == 'tag' && endsWith(github.ref, '-rc') && 'true' || 'false' }}
# BUILD_VERSION:

env:
RELEASE_BUILD: false
SNAPSHOT_BUILD: false
BUILD_VERSION: ${{ github.sha }}
GITHUB_OWNER: mysteriumnetwork
GITHUB_REPO: node
GITHUB_SNAPSHOT_REPO: node-builds
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
build-packages:
Expand Down Expand Up @@ -46,6 +53,9 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Generate Env
run: go run mage.go -v GenerateEnvFile

- name: Setup FPM
run: |
sudo apt-get install ruby-dev build-essential
Expand All @@ -55,4 +65,6 @@ jobs:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: go run mage.go -v ${{ matrix.platform }}
run: |
source build/env.sh
go run mage.go -v ${{ matrix.platform }}

0 comments on commit d466279

Please sign in to comment.