-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove tag automations, new release pipeline (#17)
- Loading branch information
1 parent
55c2830
commit 032b0cf
Showing
2 changed files
with
22 additions
and
20 deletions.
There are no files selected for viewing
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
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: | ||
|
@@ -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 }} |
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
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" | ||
|