-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(generate.yml): comment out unused workflow steps to improve rea…
…dability and reduce noise in the file
- Loading branch information
jandroav
committed
Jan 5, 2024
1 parent
c54161b
commit 1f1c5db
Showing
1 changed file
with
43 additions
and
43 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,46 +71,46 @@ jobs: | |
# SPACELIFT_API_KEY_SECRET: ${{ secrets.SPACELIFT_API_KEY_SECRET }} | ||
# run: spacectl stack deploy --id liquibase-github-actions | ||
|
||
generate-action: | ||
runs-on: ubuntu-latest | ||
needs: [ create-command-list, create-action-repo ] | ||
strategy: | ||
matrix: | ||
commands: ${{ fromJSON(needs.create-command-list.outputs.matrix) }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- run: echo ${{ matrix.commands }} | ||
|
||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v1 | ||
with: | ||
version: '3.x' | ||
repo-token: ${{ secrets.BOT_TOKEN }} | ||
|
||
- run: make generate VERSION=$LIQUIBASE_VERSION COMMAND="${{ matrix.commands }}" | ||
|
||
- name: Configure git user | ||
run: | | ||
git config --global init.defaultBranch main | ||
git config --global user.name "liquibot" | ||
git config --global user.email "[email protected]" | ||
- name: Push Action to Repo | ||
run: ./scripts/push-to-repository.sh "${{ matrix.commands }}" $LIQUIBASE_VERSION | ||
env: | ||
BOT_TOKEN: ${{ secrets.BOT_TOKEN }} | ||
|
||
output-action: | ||
runs-on: ubuntu-latest | ||
needs: [ generate-action ] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: commands-$LIQUIBASE_VERSION | ||
path: ./ | ||
|
||
- name: Output Action Edit Link | ||
run: ./scripts/output-release-edit.sh "v$LIQUIBASE_VERSION" | ||
# generate-action: | ||
# runs-on: ubuntu-latest | ||
# needs: [ create-command-list, create-action-repo ] | ||
# strategy: | ||
# matrix: | ||
# commands: ${{ fromJSON(needs.create-command-list.outputs.matrix) }} | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
|
||
# - run: echo ${{ matrix.commands }} | ||
|
||
# - name: Install Protoc | ||
# uses: arduino/setup-protoc@v1 | ||
# with: | ||
# version: '3.x' | ||
# repo-token: ${{ secrets.BOT_TOKEN }} | ||
|
||
# - run: make generate VERSION=$LIQUIBASE_VERSION COMMAND="${{ matrix.commands }}" | ||
|
||
# - name: Configure git user | ||
# run: | | ||
# git config --global init.defaultBranch main | ||
# git config --global user.name "liquibot" | ||
# git config --global user.email "[email protected]" | ||
|
||
# - name: Push Action to Repo | ||
# run: ./scripts/push-to-repository.sh "${{ matrix.commands }}" $LIQUIBASE_VERSION | ||
# env: | ||
# BOT_TOKEN: ${{ secrets.BOT_TOKEN }} | ||
|
||
# output-action: | ||
# runs-on: ubuntu-latest | ||
# needs: [ generate-action ] | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
|
||
# - uses: actions/download-artifact@v3 | ||
# with: | ||
# name: commands-$LIQUIBASE_VERSION | ||
# path: ./ | ||
|
||
# - name: Output Action Edit Link | ||
# run: ./scripts/output-release-edit.sh "v$LIQUIBASE_VERSION" |