fix pushd to non existing directory #86
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: cache yay | |
uses: actions/cache@v3 | |
with: | |
path: yay-cache | |
key: yay-cache | |
- name: build pacman repository | |
id: build | |
uses: ./ | |
- name: create release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: 'output/*,yay-cache/**/*.tar.zst' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ steps.build.outputs.RELEASE_TAG }} |