Skip to content

Commit

Permalink
remove tag automations, new release pipeline (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
therealpaulgg authored Mar 18, 2023
1 parent 55c2830 commit 032b0cf
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: ci

on:
on:
push:
branches:
- "main"
tags:
- '*'

jobs:
build-docker:
Expand Down Expand Up @@ -53,20 +53,3 @@ jobs:
name: ssh-sync-setup
path: ./win-build/ssh-sync-setup.exe
retention-days: 5
release:
runs-on: ubuntu-latest
needs: [build-docker, build-windows]
steps:
- name: Generate release tag
id: generate_release_tag
uses: amitsingh-007/[email protected]
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
- name: Download all workflow run artifacts
uses: actions/download-artifact@v3
- uses: actions/checkout@v2
- uses: ncipollo/release-action@v1
with:
artifacts: "./win-build/ssh-sync-setup.exe"
bodyFile: "body.md"
tag: ${{ steps.generate_release_tag.outputs.release_tag }}
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: release

on:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-latest
needs: [build-docker, build-windows]
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v3
- uses: actions/checkout@v2
- uses: ncipollo/release-action@v1
with:
artifacts: "./win-build/ssh-sync-setup.exe"

0 comments on commit 032b0cf

Please sign in to comment.