This repository has been archived by the owner on May 13, 2024. It is now read-only.
Build Jenkins ORM Stack #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Build Jenkins ORM Stack' | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
env: | |
PROJECT_WORKING_DIR: '/build-orm/' | |
jobs: | |
generate-oci-arch-jenkins-stack: | |
name: 'Generate oci-arch-jenkins ORM Stack' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 'Generate ORM Stack zip file' | |
run: | | |
zip -r oci-arch-jenkins-stack-latest.zip *.tf *.tf *.yaml -x provider.tf terraform.tfstate* terraform.tfvars* | |
unzip -l oci-arch-jenkins-stack-latest.zip | |
- name: 'Publish Release' | |
uses: "marvinpinto/[email protected]" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
#Artifact will be available for download at: https://github.com/<organization>/<repository>/releases/download/<automatic_release_tag>/<zip file> | |
automatic_release_tag: "orm-deploy" | |
prerelease: true | |
title: "latest" | |
files: | | |
${{ github.workspace }}/oci-arch-jenkins-stack-latest.zip |