Skip to content

Commit

Permalink
Env cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tzununbekov committed Feb 15, 2024
1 parent 2de27ed commit 5dcac4b
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
name: Test and build
on:
push:
branches:
- ci-migration
on: [pull_request]

env:
# following envs are added for the back compatibility
# we need to check if they are used at all
GO_PACKAGE: github.com/mysteriumnetwork/node
GOFLAGS: "-count=1"
GITHUB_OWNER: "mysteriumnetwork"
GITHUB_REPO: "node"
GITHUB_SNAPSHOT_REPO: "node-builds"
GITHUB_API_TOKEN: ""
BUILD_BRANCH: ${{ github.ref_name }}
BUILD_NUMBER: ${{ github.job_id }}
# BUILD_COMMIT: $CI_COMMIT_SHORT_SHA
# BUILD_BRANCH_SAFE: $CI_COMMIT_REF_SLUG
# BUILD_TAG: $CI_COMMIT_TAG
# GIT_CLONE_PATH:

jobs:
test-and-build:
Expand All @@ -34,10 +19,6 @@ jobs:
- name: Install protoc
run: sudo apt install -y protobuf-compiler

# - name: Prepare Env
# run: |
# go run mage.go -v GenerateEnvFile

- name: Unit tests and linters
run: |
go run mage.go -v Generate
Expand All @@ -61,10 +42,3 @@ jobs:

- name: E2E NAT test
run: go run mage.go -v TestE2ENAT

# create-release:
# name: Create Release
# if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
# runs-on: ubuntu-latest
# needs: publish-images

0 comments on commit 5dcac4b

Please sign in to comment.