Skip to content

fix: small fixes, add commands to main (#23) #17

fix: small fixes, add commands to main (#23)

fix: small fixes, add commands to main (#23) #17

Workflow file for this run

name: Tag
on:
push:
branches:
- main
jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
- name: Tag
run: hack/tag-release.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Sign in to Google Cloud
uses: google-github-actions/auth@v2
if: env.RELEASE_VERSION != ''
with:
credentials_json: ${{ secrets.GOOGLE_BUCKET_CREDS_JSON }}
- name: Upload archive to Google Bucket
uses: 'google-github-actions/upload-cloud-storage@v2'
if: env.RELEASE_VERSION != ''
with:
path: dist
glob: '*.tar.gz'
parent: false
destination: 'codesphere-oms-builds/tag/oms-${{ env.RELEASE_VERSION }}/${{ env.FOLDER }}'