Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cae6a35

Browse files
committed
Update env variables
1 parent e841b9b commit cae6a35

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ env:
1717
PULL_REQUEST_NAME: ${github.head_ref}
1818
PULL_REQUEST_BRANCH: ${{github.head_ref}}
1919
TAG_NAME: ${TRAVIS_TAG}
20-
REPO_SLUG: ${TRAVIS_REPO_SLUG}
20+
REPO_SLUG: ${{github.repository}}
2121
PR_SLUG: ${{github.repository}}
22-
BRANCH_NAME: ${github.ref}
23-
# Environment for building a release
24-
CURRENT_BRANCH: ${{github.ref}}
2522
UTPLSQL_REPO: "utPLSQL/utPLSQL"
2623
UTPLSQL_BUILD_NO_OFFSET: 3563
2724
UTPLSQL_BUILD_NO: $( expr ${{github.run_number}} + ${UTPLSQL_BUILD_NO_OFFSET} )
@@ -70,6 +67,7 @@ jobs:
7067
include:
7168
- oracle-version: "gvenzl/oracle-xe:11-full"
7269
connection-str: '127.0.0.1:1521/XE'
70+
# TODO - need to add healthcheck.sh into our containers
7371
# - oracle-version: "utplsqlv3/oracledb:12c-r1-se2-small"
7472
# connection-str: '127.0.0.1:1521/ORCLCDB'
7573
# - oracle-version: "utplsqlv3/oracledb:12c-r2-se2-small"
@@ -105,6 +103,11 @@ jobs:
105103
with:
106104
fetch-depth: 0
107105

106+
- uses: nelonoel/[email protected]
107+
108+
- name: Set current branch name
109+
run: echo "CURRENT_BRANCH=${BRANCH_NAME}" >> $GITHUB_ENV
110+
108111
- name: Set build no
109112
run: echo "UTPLSQL_BUILD_NO=$( expr ${{github.run_number}} + ${UTPLSQL_BUILD_NO_OFFSET} )" >> $GITHUB_ENV
110113

0 commit comments

Comments
 (0)