Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ jobs:
outputs:
tag: ${{ steps.version-and-tag.outputs.tag }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: 'main'
fetch-depth: 0
fetch-tags: true

- name: Setup Node.js ${{ needs.get-configs.outputs.node-version }}
uses: actions/setup-node@v4
Expand Down Expand Up @@ -62,6 +63,7 @@ jobs:
FULL_TAG="v${INPUT_VERSION}-beta"
git tag "$FULL_TAG"
git push origin "$FULL_TAG"
echo "Created tag from branch=$(git rev-parse --abbrev-ref HEAD), commit=$(git rev-parse HEAD), tag=$(git describe --tags --exact-match)"

echo "tag=$FULL_TAG" >> $GITHUB_OUTPUT

Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@ jobs:
needs: [get-configs]
runs-on: ${{ inputs.runs-on }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}
fetch-tags: true

- name: Log Commit and Branch
- name: Git Status
shell: bash
run: echo "Checked out sha=${{ github.sha }} ref=${{ github.ref }} head_ref=${{ github.head_ref }}"
run: echo "Building from branch=$(git rev-parse --abbrev-ref HEAD), commit=$(git rev-parse HEAD), tag=$(git describe --tags --exact-match)"

- name: Setup Node.js ${{ needs.get-configs.outputs.node-version }} (${{ inputs.runs-on }}-${{ inputs.arch }})
uses: actions/setup-node@v4
Expand All @@ -58,13 +59,14 @@ jobs:
runs-on: ${{ inputs.runs-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

- name: Log Commit and Branch
fetch-tags: true

- name: Git Status
shell: bash
run: echo "Checked out sha=${{ github.sha }} ref=${{ github.ref }} head_ref=${{ github.head_ref }}"
run: echo "Building from branch=$(git rev-parse --abbrev-ref HEAD), commit=$(git rev-parse HEAD), tag=$(git describe --tags --exact-match)"

- name: Setup Go ${{ needs.get-configs.outputs.go-version }} (${{ inputs.runs-on }}-${{ inputs.arch }})
uses: actions/setup-go@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Setup Node.js ${{ needs.get-configs.outputs.node-version }}
uses: actions/setup-node@v4
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
needs: [get-configs]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Setup Go ${{ needs.get-configs.outputs.go-version }}
uses: actions/setup-go@v4
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/prod-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ jobs:
outputs:
tag: ${{ steps.version-and-tag.outputs.tag }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: 'main'
fetch-depth: 0
fetch-tags: true

- name: Configure Git
run: |
Expand All @@ -46,7 +47,8 @@ jobs:
# Create and push production tag
git tag "$PROD_TAG"
git push origin "$PROD_TAG"


echo "Created tag from branch=$(git rev-parse --abbrev-ref HEAD), commit=$(git rev-parse HEAD), tag=$(git describe --tags --exact-match)"
echo "tag=$PROD_TAG" >> $GITHUB_OUTPUT

call-release:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
tag: ${{ steps.validate-tag.outputs.tag }}
is-prerelease: ${{ steps.validate-tag.outputs.is-prerelease }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: ${{ inputs.tag }}

Expand Down Expand Up @@ -77,9 +77,14 @@ jobs:
matrix: ${{ fromJson(needs.get-build-matrix.outputs.build-matrix) }}
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: ${{ needs.version-and-tag.outputs.tag }}
fetch-tags: true

- name: Git Status
shell: bash
run: echo "Bundling from branch=$(git rev-parse --abbrev-ref HEAD), commit=$(git rev-parse HEAD), tag=$(git describe --tags --exact-match)"

- name: Setup Node.js ${{ needs.get-configs.outputs.node-version }} (${{ matrix.runner }}-${{ matrix.arch }})
uses: actions/setup-node@v4
Expand Down
Loading