diff --git a/get-latest-semver-tag/action.yml b/get-latest-semver-tag/action.yml index 2faf409..8c0fdc3 100644 --- a/get-latest-semver-tag/action.yml +++ b/get-latest-semver-tag/action.yml @@ -33,12 +33,15 @@ outputs: runs: using: 'composite' steps: - - name: Get latest semver tag + - name: Build and run get-latest-semver-tag shell: bash - run: ${{ github.action_path }}/get-latest-semver-tag env: INPUT_PREFIX: ${{ inputs.prefix }} INPUT_DEFAULT_VERSION: ${{ inputs.default-version }} + run: | + cd ${{ github.action_path }} + go build -o get-latest-semver-tag main.go + ./get-latest-semver-tag branding: icon: 'tag' diff --git a/get-next-semver/action.yml b/get-next-semver/action.yml index e2c91ca..1d9c7ab 100644 --- a/get-next-semver/action.yml +++ b/get-next-semver/action.yml @@ -38,14 +38,17 @@ outputs: runs: using: 'composite' steps: - - name: Get next semver + - name: Build and run get-next-semver shell: bash - run: ${{ github.action_path }}/get-next-semver env: INPUT_CURRENT_VERSION: ${{ inputs.current-version }} INPUT_INCREMENT_MAJOR: ${{ inputs.increment-major }} INPUT_INCREMENT_MINOR: ${{ inputs.increment-minor }} INPUT_PREFIX: ${{ inputs.prefix }} + run: | + cd ${{ github.action_path }} + go build -o get-next-semver main.go + ./get-next-semver branding: icon: 'arrow-up'