Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize GitHub Actions examples #378

Merged
merged 2 commits into from
Feb 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ jobs:
name: calculate-ci-job
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: 'temurin'
java-version: 8

- name: Setup JFrog CLI
uses: jfrog/setup-jfrog-cli@v2
uses: jfrog/setup-jfrog-cli@v4
env:
JF_ENV_1: ${{ secrets.JF_SECRET_ENV_1 }}
M2_HOME: /usr/local/apache-maven/apache-maven-3.6.3

- name: Ping JFrog CLI
- name: Ping Artifactory
run: jf rt ping

- name: Set Environment Variables
yahavi marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ This is an example Github workflow, which uses the [Setup JFrog CLI Github Actio

## Running the Example
1. Create a new Github repository.
2. Make sure you have version **1.29.0** or above of [JFrog CLI](https://jfrog.com/getcli/) on your local machine, by running ```jfrog -v```.
2. Make sure you have version **1.46.4** or above of [JFrog CLI](https://jfrog.com/getcli/) on your local machine, by running ```jfrog -v```.
3. Configure the details of your Artifactory server by running ```jfrog c add```.
4. Using the server ID you configured, export the server details by running ```jfrog c export <Server ID>```.
5. Copy the generated token to the clipboard.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup JFrog CLI
uses: jfrog/setup-jfrog-cli@v3
uses: jfrog/setup-jfrog-cli@v4
env:
# JFrog platform url (for example: https://acme.jfrog.io)
JF_URL: ${{ secrets.JF_URL }}
Expand Down
105 changes: 0 additions & 105 deletions repo-management-github-actions-example/.github/workflows/main.yml

This file was deleted.

4 changes: 0 additions & 4 deletions repo-management-github-actions-example/README.md

This file was deleted.

This file was deleted.

74 changes: 0 additions & 74 deletions repo-management-github-actions-example/maths/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading