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

Workflow issue 112 #117

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
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
48 changes: 1 addition & 47 deletions .github/workflows/release_on_tag_push.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1 @@
name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions
on:
push:
tags:
- '*'

jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."

- name: List files in the repository
run: |
ls ${{ github.workspace }}

- run: echo "This job's status is ${{ job.status }}."
- run: mvn clean install

- name: List files in the repository
run: |
ls ${{ github.workspace }}

- name: Upload more zips
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: agent/service/target/MFT-Agent-0.01-bin.zip
asset-name: MFT-Agent-0.01-bin.zip
tag: ${{ github.ref }}
overwrite: true
body: "Uploading more zips"

- name: Upload more zips
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: standalone-service/target/Standalone-Service-0.01-bin.zip
asset-name: Standalone-Service-0.01-bin.zip
tag: ${{ github.ref }}
overwrite: true
body: "Uploading more zips"


blank file