Skip to content

Commit

Permalink
switch dirs before creating tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanformio committed Mar 22, 2024
1 parent 59f26ea commit f605790
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,20 @@ jobs:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
registry-url: 'https://registry.npmjs.org/'

# Restore Build cache
- name: Restore dist cache
uses: actions/cache@v3
with:
path: dist
key: ${{ runner.os }}-dist-${{ hashFiles('dist.tgz') }}
restore-keys: |
${{ runner.os }}-dist-
- name: Switch to dist directory
run: |
cd ./dist/angular-formio
ls -R .
- name: Prepare version for publish
id: prep
Expand All @@ -142,20 +156,6 @@ jobs:
- name: Echo version to Publish
run: |
echo "Version to publish: $NEW_VERSION"
# Restore Build cache
- name: Restore build cache
uses: actions/cache@v3
with:
path: dist
key: ${{ runner.os }}-dist-${{ hashFiles('dist.tgz') }}
restore-keys: |
${{ runner.os }}-dist-
- name: Switch to dist directory
run: |
cd ./dist/angular-formio
ls -R .
- name: Configure Git user
run: |
Expand Down

0 comments on commit f605790

Please sign in to comment.