Skip to content

Update main.yml

Update main.yml #29

Workflow file for this run

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
# 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