Skip to content

Commit

Permalink
Revert changes for ccm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pushyamig committed Mar 4, 2024
1 parent ab743df commit b1b9718
Showing 1 changed file with 2 additions and 31 deletions.
33 changes: 2 additions & 31 deletions .github/workflows/ccm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@ on:
push:
# takes muliple branch names
branches:
<<<<<<< HEAD
- main
=======
- master
>>>>>>> a7ff2ea (Adding a github actions file)
- '[0-9][0-9][0-9][0-9].[0-9][0-9].*' # 2021.01.x
- i404_backend_update
tags:
- '[0-9][0-9][0-9][0-9].[0-9][0-9].[0-9][0-9]' # 2021.01.01

Expand All @@ -26,20 +21,12 @@ env:
jobs:
build:
# to test a feature, change the repo name to your github id
if: github.repository_owner == 'tl-its-umich-edu' || github.repository_owner == 'pushyamig'
if: github.repository_owner == 'tl-its-umich-edu'
runs-on: ubuntu-latest
steps:

- name: Checkout code
<<<<<<< HEAD
<<<<<<< HEAD
uses: actions/checkout@v4
=======
uses: actions/checkout@v3
>>>>>>> a7ff2ea (Adding a github actions file)
=======
uses: actions/checkout@v4
>>>>>>> 9878d68 (updating the github action repos version)

- name: Extract branch name
id: extract_branch
Expand All @@ -51,15 +38,7 @@ jobs:
docker build . --tag ghcr.io/${{ env.REPO_URL }}:${BRANCH_NAME}
- name: Login to GitHub Container Registry
<<<<<<< HEAD
<<<<<<< HEAD
uses: docker/login-action@v3
=======
uses: docker/login-action@v2
>>>>>>> a7ff2ea (Adding a github actions file)
=======
uses: docker/login-action@v3
>>>>>>> 9878d68 (updating the github action repos version)
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -71,19 +50,11 @@ jobs:
release:
# Making sure that release only runs for tag pushes
if: startsWith(github.ref, 'refs/tags/') && github.repository_owner == 'pushyamig'
if: startsWith(github.ref, 'refs/tags/') && github.repository_owner == 'tl-its-umich-edu'
needs: build # This ensures the build job finishes successfully before starting this job
runs-on: ubuntu-latest
steps:
<<<<<<< HEAD
<<<<<<< HEAD
- uses: actions/checkout@v4
=======
- uses: actions/checkout@v3
>>>>>>> a7ff2ea (Adding a github actions file)
=======
- uses: actions/checkout@v4
>>>>>>> 5bf1369 (Git action version update)

- name: Draft Release
id: create_release
Expand Down

0 comments on commit b1b9718

Please sign in to comment.