Skip to content

Commit

Permalink
remove unneeded actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jpshilton-op committed Aug 28, 2023
1 parent b2d5d17 commit f78c6cc
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 32 deletions.
12 changes: 0 additions & 12 deletions .github/actions/getsha/action.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/actions/getver/action.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
getver:
uses: OpenPhone/gha/.github/actions/getver@common-actions
uses: OpenPhone/gha/.github/workdlows/getver.yml@common-actions

build-types:
name: Build and Publish Types
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish-typescript-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
getver:
uses: OpenPhone/gha/.github/actions/getver@common-actions
uses: OpenPhone/gha/.github/workflows/getver.yml@common-actions

build:
name: Build and Publish Types
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/getsha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ jobs:

steps:
- id: getsha
uses: OpenPhone/gha/.github/actions/getsha@common-actions
shell: bash
run: echo "sha=${GITHUB_SHA::8}" >> $GITHUB_OUTPUT
8 changes: 5 additions & 3 deletions .github/workflows/getver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ jobs:
runs-on: ubuntu-22.04

outputs:
version: ${{ steps.getver.outputs.version }}
version: ${{ steps.vertag.outputs.version }}

steps:
- id: getver
uses: OpenPhone/gha/.github/actions/getver@common-actions
- id: vertag
shell: bash
if: startsWith(github.ref, 'refs/tags/v')
run: echo "version=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_OUTPUT

0 comments on commit f78c6cc

Please sign in to comment.