add github workspace variable
This commit is contained in:
@@ -33,7 +33,7 @@ jobs:
|
||||
- name: Read Current pkgver
|
||||
id: current
|
||||
run: |
|
||||
source PKGBUILD
|
||||
source $GITHUB_WORKSPACE/PKGBUILD
|
||||
echo "current=$pkgver" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Compare Version
|
||||
@@ -48,6 +48,7 @@ jobs:
|
||||
- name: Build Package
|
||||
if: steps.compare.outputs.build == 'true'
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE
|
||||
pkgctl build --pkgver=${{ steps.get_tag.outputs.latest_tag }}
|
||||
|
||||
- name: Upload Artefact
|
||||
|
||||
Reference in New Issue
Block a user