Skip to content

Commit

Permalink
updating the pkg versions of github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pushyamig committed Mar 28, 2024
1 parent a73f8d2 commit dad758e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches:
- master
- '[0-9][0-9][0-9][0-9].[0-9][0-9].*' # 2021.01.x
- 'i1564_github_actions_pkg_update'
tags:
- '[0-9][0-9][0-9][0-9].[0-9][0-9].[0-9][0-9]' # 2021.01.01

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

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Extract branch name
id: extract_branch
Expand All @@ -37,7 +38,7 @@ jobs:
docker build . --tag ghcr.io/${{ env.REPO_URL }}:${BRANCH_NAME}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -49,15 +50,15 @@ jobs:
release:
# Making sure that release only runs for tag pushes
if: startsWith(github.ref, 'refs/tags/') && github.repository_owner == 'tl-its-umich-edu'
if: startsWith(github.ref, 'refs/tags/') && github.repository_owner == 'pushyamig'
needs: build # This ensures the build job finishes successfully before starting this job
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Draft Release
id: create_release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
draft: true
prerelease: true
Expand Down

0 comments on commit dad758e

Please sign in to comment.