diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dee28a2b..69feec58 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 @@ -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 }} @@ -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