mirror of
https://github.com/friendica/friendica
synced 2024-11-09 16:22:56 +00:00
Enable workflow for releases only
This commit is contained in:
parent
64332c8c2b
commit
ab6c0ede17
1 changed files with 11 additions and 10 deletions
21
.github/workflows/releases.yml
vendored
21
.github/workflows/releases.yml
vendored
|
@ -1,7 +1,7 @@
|
||||||
name: Generate release packages
|
name: Generate release packages
|
||||||
on: [pull_request]
|
on:
|
||||||
# release:
|
release:
|
||||||
# types: [published]
|
types: [published]
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
name: Create release
|
name: Create release
|
||||||
|
@ -50,7 +50,6 @@ jobs:
|
||||||
cd build
|
cd build
|
||||||
ARTIFACT=${{ steps.artifact.outputs.name }}
|
ARTIFACT=${{ steps.artifact.outputs.name }}
|
||||||
sha256sum "${ARTIFACT}" > "${ARTIFACT}.sha256"
|
sha256sum "${ARTIFACT}" > "${ARTIFACT}.sha256"
|
||||||
echo "::set-output name=name::${ARTIFACT}.sha256"
|
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
@ -58,9 +57,11 @@ jobs:
|
||||||
name: friendica
|
name: friendica
|
||||||
path: build/
|
path: build/
|
||||||
|
|
||||||
# - name: Upload to release
|
- name: Upload to release
|
||||||
# uses: JasonEtco/upload-to-release@master
|
uses: softprops/action-gh-release@v1
|
||||||
# with:
|
with:
|
||||||
# args: build/friendica-full-${{ steps.release.outputs.version }}.tar.gz application/zip
|
files: |
|
||||||
# env:
|
build/${{ steps.artifact.outputs.name }}.tar.gz
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
build/${{ steps.artifact.outputs.name }}.tar.gz.sha256
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue