Skip to content

Commit

Permalink
tmp: enable builds on PRs [REVERT]
Browse files Browse the repository at this point in the history
  • Loading branch information
rauno56 committed Jun 25, 2024
1 parent 62cedd5 commit 678291e
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Release Demo Services

on:
pull_request:
branches:
- main
push:
tags:
- "v*"
Expand Down Expand Up @@ -63,7 +66,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ env.TAG }}
# ref: ${{ env.TAG }}

- name: Set env
id: vars
Expand Down Expand Up @@ -113,7 +116,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ env.TAG }}
# ref: ${{ env.TAG }}

- name: Install GemFury CLI
run: |
Expand Down Expand Up @@ -143,8 +146,8 @@ jobs:
sed -i -E 's/arch: .*$/arch: '"${{ matrix.pkg_arch }}"'/' nfpm.yaml
nfpm pkg --packager rpm --target dist/
nfpm pkg --packager deb --target dist/
fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.rpm
fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.deb
# fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.rpm
# fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.deb
######################
#### INVENTORY ####
######################
Expand All @@ -165,7 +168,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ env.TAG }}
# ref: ${{ env.TAG }}

- name: Install GemFury CLI
run: |
Expand Down Expand Up @@ -198,8 +201,8 @@ jobs:
sed -i -E 's/arch: .*$/arch: '"${{ matrix.pkg_arch }}"'/' nfpm.yaml
nfpm pkg --packager rpm --target dist/
nfpm pkg --packager deb --target dist/
fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.rpm
fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.deb
# fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.rpm
# fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.deb
######################
#### COUPON ####
######################
Expand All @@ -220,7 +223,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ env.TAG }}
# ref: ${{ env.TAG }}

- name: Install GemFury CLI
run: |
Expand Down Expand Up @@ -252,8 +255,8 @@ jobs:
sed -i -E 's/arch: .*$/arch: '"${{ matrix.pkg_arch }}"'/' nfpm.yaml
nfpm pkg --packager rpm --target dist/
nfpm pkg --packager deb --target dist/
fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.rpm
fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.deb
# fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.rpm
# fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.deb
######################
#### PRICING ####
######################
Expand All @@ -277,7 +280,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ env.TAG }}
# ref: ${{ env.TAG }}

- name: Install GemFury CLI
run: |
Expand Down Expand Up @@ -309,5 +312,5 @@ jobs:
sed -i -E 's/arch: .*$/arch: '"${{ matrix.pkg_arch }}"'/' nfpm.yaml
nfpm pkg --packager rpm --target dist/
nfpm pkg --packager deb --target dist/
fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.rpm
fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.deb
# fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.rpm
# fury push --public --account $FURY_ACCOUNT --api-token $FURY_API_TOKEN dist/*.deb

0 comments on commit 678291e

Please sign in to comment.