mirror of
https://github.com/actions/upload-pages-artifact.git
synced 2026-05-14 03:46:52 +00:00
Compare commits
1 Commits
v3.0.1
...
artifacts-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f9b240399a |
3
.github/dependabot.yml
vendored
3
.github/dependabot.yml
vendored
@@ -4,6 +4,3 @@ updates:
|
|||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
groups:
|
|
||||||
non-breaking-changes:
|
|
||||||
update-types: [minor, patch]
|
|
||||||
|
|||||||
2
.github/workflows/draft-release.yml
vendored
2
.github/workflows/draft-release.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
|||||||
draft-release:
|
draft-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v3
|
||||||
- uses: release-drafter/release-drafter@v5
|
- uses: release-drafter/release-drafter@v5
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Update the ${{ env.TAG_NAME }} tag
|
- name: Update the ${{ env.TAG_NAME }} tag
|
||||||
id: update-major-tag
|
id: update-major-tag
|
||||||
uses: actions/publish-action@v0.3.0
|
uses: actions/publish-action@v0.2.2
|
||||||
with:
|
with:
|
||||||
source-tag: ${{ env.TAG_NAME }}
|
source-tag: ${{ env.TAG_NAME }}
|
||||||
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
|
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
|
||||||
|
|||||||
5
.github/workflows/test-hosted-runners.yml
vendored
5
.github/workflows/test-hosted-runners.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Generate files
|
- name: Generate files
|
||||||
run: mkdir artifact && mkdir artifact2 && cd artifact && ../script/new-artifact.sh
|
run: mkdir artifact && mkdir artifact2 && cd artifact && ../script/new-artifact.sh
|
||||||
@@ -31,13 +31,12 @@ jobs:
|
|||||||
- name: Upload Pages artifact
|
- name: Upload Pages artifact
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
name: pages-artifact-${{ matrix.os }}
|
|
||||||
path: artifact
|
path: artifact
|
||||||
|
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: pages-artifact-${{ matrix.os }}
|
name: github-pages
|
||||||
path: artifact2
|
path: artifact2
|
||||||
|
|
||||||
- name: Extract artifact
|
- name: Extract artifact
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ runs:
|
|||||||
shell: sh
|
shell: sh
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
echo ::group::Archive artifact
|
|
||||||
tar \
|
tar \
|
||||||
--dereference --hard-dereference \
|
--dereference --hard-dereference \
|
||||||
--directory "$INPUT_PATH" \
|
--directory "$INPUT_PATH" \
|
||||||
@@ -33,7 +32,6 @@ runs:
|
|||||||
--exclude=.git \
|
--exclude=.git \
|
||||||
--exclude=.github \
|
--exclude=.github \
|
||||||
.
|
.
|
||||||
echo ::endgroup::
|
|
||||||
env:
|
env:
|
||||||
INPUT_PATH: ${{ inputs.path }}
|
INPUT_PATH: ${{ inputs.path }}
|
||||||
|
|
||||||
@@ -42,7 +40,6 @@ runs:
|
|||||||
shell: sh
|
shell: sh
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
run: |
|
||||||
echo ::group::Archive artifact
|
|
||||||
gtar \
|
gtar \
|
||||||
--dereference --hard-dereference \
|
--dereference --hard-dereference \
|
||||||
--directory "$INPUT_PATH" \
|
--directory "$INPUT_PATH" \
|
||||||
@@ -50,7 +47,6 @@ runs:
|
|||||||
--exclude=.git \
|
--exclude=.git \
|
||||||
--exclude=.github \
|
--exclude=.github \
|
||||||
.
|
.
|
||||||
echo ::endgroup::
|
|
||||||
env:
|
env:
|
||||||
INPUT_PATH: ${{ inputs.path }}
|
INPUT_PATH: ${{ inputs.path }}
|
||||||
|
|
||||||
@@ -59,7 +55,6 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: |
|
run: |
|
||||||
echo ::group::Archive artifact
|
|
||||||
tar \
|
tar \
|
||||||
--dereference --hard-dereference \
|
--dereference --hard-dereference \
|
||||||
--directory "$INPUT_PATH" \
|
--directory "$INPUT_PATH" \
|
||||||
@@ -68,7 +63,6 @@ runs:
|
|||||||
--exclude=.github \
|
--exclude=.github \
|
||||||
--force-local \
|
--force-local \
|
||||||
"."
|
"."
|
||||||
echo ::endgroup::
|
|
||||||
env:
|
env:
|
||||||
INPUT_PATH: ${{ inputs.path }}
|
INPUT_PATH: ${{ inputs.path }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user