Update main.yml #27
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: Print Job Summary | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
Test-GitHub-Job-Summary: | |
strategy: | |
matrix: | |
os: [ ubuntu,macos ] | |
runs-on: ${{ matrix.os }}-latest | |
steps: | |
- name: Setup Go environment | |
uses: actions/[email protected] | |
with: | |
# The Go version to download (if necessary) and use. Supports semver spec and ranges. Be sure to enclose this option in single quotation marks. | |
go-version: 1.22.1 | |
cache: false | |
# Use this action to see results in GitHub Actions UI | |
- name: Setup JFrog CLI | |
uses: jfrog/setup-jfrog-cli@v4 | |
env: | |
# Defined at top level as we use local CLI for testings | |
JFROG_CLI_LOG_LEVEL: INFO | |
JF_URL: "https://soleng.jfrog.io" | |
JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }} | |
JFROG_CLI_CURATION: true | |
# Get CLI source code | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
repository: 'asafambar/jfrog-cli' | |
ref: 'implicit_curation_support' | |
# build CLI EXE | |
- name: build cli | |
run: ./build/build.sh | |
# TODO -> in every command use the ./jf exectuable and not jf | |
# example ./jf rt ping instead of jf rt ping | |
# this will use the executable you just built. | |
- name: run curation | |
run: | | |
go clean -modcache | |
jf goc --repo-resolve asafa-go-virtual | |
./jf go install --no-fallback=true | |
env: | |
# Defined at top level as we use local CLI for testings | |
JFROG_CLI_LOG_LEVEL: INFO | |
JF_URL: "https://soleng.jfrog.io" | |
JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }} | |
JFROG_CLI_CURATION: true |