Skip to content

Added logging to setup handling #58

Added logging to setup handling

Added logging to setup handling #58

Workflow file for this run

name: Nullstone
on:
push:
tags:
- 'v*'
env:
NULLSTONE_ORG: nullstone
NULLSTONE_API_KEY: ${{ secrets.NULLSTONE_API_KEY }}
jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Nullstone
uses: nullstone-io/setup-nullstone-action@v0
- name: Setup Go
uses: actions/setup-go@v4
- name: Build binaries into packages
run: |
export PATH=$(go env GOPATH)/bin:$PATH
make build
make package
- name: Find version
id: version
run: echo "MODULE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
- id: publish-aws
name: Publish AWS
working-directory: aws/tf
run: |
nullstone modules publish \
--include=files/pg-db-admin.zip \
--version=${{ env.MODULE_VERSION }}
- id: publish-gcp
name: Publish GCP
working-directory: gcp/tf
run: |
nullstone modules publish \
--include=files/pg-db-admin.zip \
--version=${{ env.MODULE_VERSION }}