Skip to content

Commit

Permalink
Remove useless run of the release job
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus committed Jul 7, 2024
1 parent 4496a51 commit 2e4e316
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
release:
runs-on: ubuntu-24.04
if: ${{ github.event_name == 'release' }}
env:
OSGEO_USERNAME: mkuhn
OSGEO_PASSWORD: ${{ secrets.OSGEO_PASSWORD }}
Expand All @@ -104,7 +105,6 @@ jobs:
mv libqfieldsync-*.whl qfieldsync/libqfieldsync.whl
- name: Release
if: ${{ github.event_name == 'release' }}
run: |
RELEASE_VERSION=${GITHUB_REF##*/}
RELEASE_TAG=${GITHUB_REF##*/}
Expand All @@ -116,24 +116,13 @@ jobs:
--osgeo-password ${OSGEO_PASSWORD} \
--asset-path qfieldsync/libqfieldsync.whl
- name: Package
if: ${{ github.event_name == 'pull_request' }}
run: |
qgis-plugin-ci package 0.1 \
--asset-path qfieldsync/libqfieldsync.whl
- uses: actions/upload-artifact@v3
with:
name: qfieldsync-plugin
path: qfieldsync.0.1.zip

package:
runs-on: ubuntu-24.04
if: ${{ github.event_name == 'workflow_dispatch' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TX_TOKEN: ${{ secrets.TX_TOKEN }}
GITHUB_REF: ${{ github.ref }}
if: ${{ github.event_name == 'workflow_dispatch' }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 2e4e316

Please sign in to comment.