Skip to content

Merge pull request #6 from fabioschiozer/develop #2

Merge pull request #6 from fabioschiozer/develop

Merge pull request #6 from fabioschiozer/develop #2

name: Release - create release and artifact - on push tag
on:
push:
tags:
- v*.*.*
# Jobs to be executed
jobs:
build-deploy-artifact:
<<<<<<< HEAD

Check failure on line 11 in .github/workflows/releaseCreateOnPushTag.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/releaseCreateOnPushTag.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
runs-on: ubuntu-latest
=======
runs-on: Professiona-Services-LATAM-Ubuntu
>>>>>>> b7d8470 (Initialize develop)
container: tnascimento013/latam_salesforcedx_industries_orgdevmodebuilds:latest
environment: relbuild
steps:
- name: Installing missing CLIs / Plugins
run: echo "y" | sf plugins install sf-orgdevmode-builds
- name: Checkout source code
<<<<<<< HEAD
uses: actions/checkout@v3
=======
uses: Professiona-Services-LATAM/checkout@v3
>>>>>>> b7d8470 (Initialize develop)
- name: Extracting private key
run: 'echo "${{ secrets.JWT_KEY_NONPROD }}" > server.key'
- name: Running the build & deploy
run: sf builds deploy --buildfile manifest/buildfile.json --client-id ${{ vars.CLIENT_ID }} --instance-url ${{ vars.INSTANCE_URL }} --username ${{ vars.USERNAME }} --jwt-key-file server.key
- name: Setting git safe.directory
run: git config --global --add safe.directory '*'
- name: Archiving Repository
run: git archive -o ${{ github.event.repository.name }}-${{ github.ref_name }}.zip HEAD
- name: Upload Assets
<<<<<<< HEAD
uses: actions/[email protected]
=======
uses: Professiona-Services-LATAM/[email protected]
>>>>>>> b7d8470 (Initialize develop)
env:
GITHUB_TOKEN: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }}
with:
files: ${{ github.event.repository.name }}-${{ github.ref_name }}.zip