Skip to content

Commit

Permalink
simplified workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
JanBliznicenko committed Aug 1, 2023
1 parent 51ab05d commit cbc8916
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,7 @@ on:
branches:
- 'master'

env:
REPOSITORY_NAME: '${{ github.event.repository.name }}'
PROJECT_NAME: 'openponk-${{ github.event.repository.name }}'
VERSION: 'nightly'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
cache-name: zip-cache
RUN_ID: ${{ github.run_id }}

jobs:
OP:
plugins:
uses: OpenPonk/plugins/.github/workflows/nightly.yml@master
secrets:
WORKFLOW_ACCESS_TOKEN: ${{ secrets.WORKFLOW_ACCESS_TOKEN }}
secrets: inherit
12 changes: 3 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@ on:
release:
types: [published]
workflow_call:

env:
REPOSITORY_NAME: '${{ github.event.repository.name }}'
PROJECT_NAME: 'openponk-${{ github.event.repository.name }}'
VERSION: ${{ github.event.release.tag_name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUN_ID: ${{ github.run_id }}

jobs:
OP:
uses: OpenPonk/plugins/.github/workflows/release.yml@master
plugins:
uses: OpenPonk/plugins/.github/workflows/release.yml@master
secrets: inherit

0 comments on commit cbc8916

Please sign in to comment.